Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[3.1.4] Support for GitHub App projects #132

Open
maciejb opened this issue Jun 10, 2024 · 1 comment
Open

[3.1.4] Support for GitHub App projects #132

maciejb opened this issue Jun 10, 2024 · 1 comment
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@maciejb
Copy link

maciejb commented Jun 10, 2024

CircleCI is offering a new way of working with GitHub repos, using the GitHub App instead of the GitHub OAuth App. This, however, includes some changes which are incompatible with this orb.

The incompatibilities I've been able to find:

  • CIRCLE_REPOSITORY_URL environment variable is no longer set, but is available through the pipeline parameter << pipeline.project.git_url >>
  • API calls using ${VCS_TYPE}/${CIRCLE_PROJECT_USERNAME}/${CIRCLE_PROJECT_REPONAME} are invalid:
    • The VCS_TYPE for such projects must be set to circleci
    • CIRCLE_PROJECT_USERNAME and CIRCLE_PROJECT_REPONAME resolve to human-readable values, but the API expects the arbitrary string id values that are instead available in the CIRCLE_ORGANIZATION_ID and CIRCLE_PROJECT_ID variables, respectively
@eddiewebb eddiewebb added enhancement New feature or request good first issue Good for newcomers labels Jun 18, 2024
@jdepp
Copy link

jdepp commented Aug 14, 2024

Would also love to see this feature, as new CircleCI orgs are automatically created with the Github App integration instead of Github Oauth. We're testing out this orb, as we need a way to disable concurrent workflows from the same branch, and are getting the error

ERROR: Server returned error code: 404
{
  "message" : "Project not found"
}

Which I assume is in the way the API call differs, as @maciejb mentioned above.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

3 participants