Skip to content

bug when deleting and recreating repo in GitHub #153

Open

Description

@azliabdullah

When I set recreateRepo to true, only the first time creation worked.

  github: {
    recreateRepo: true,
  },

And the re-creation always returned Something went wrong: HttpError: Repository creation failed.: {"resource":"Repository","code":"custom","field":"name","message":"name already exists on this account"}. While it is confirmed that the repo doesn't exist.

Activity

  1. azliabdullah commented on Sep 8, 2022

    @azliabdullah
    Author

    I may have found the cause of the issue, will attempt to fix and open a PR

  2. azliabdullah commented on Sep 8, 2022

    @azliabdullah
    Author

    PR #154 submitted to fix this issue.

    Have to set github.ownerIsOrg to true in settings.ts if the repo belongs to an Organisation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions