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

feat(github): add support for only using the REST API #1

Merged
merged 6 commits into from
Apr 11, 2023

Conversation

RobertCraigie
Copy link
Member

@RobertCraigie RobertCraigie commented Apr 10, 2023

This PR adds support for using the REST API instead of the GraphQL API as the GraphQL API doesn't support fine-grained personal access tokens yet.

This can be specified in the CLI, e.g.

release-please release-pr 
  --token=$GITHUB_TOKEN \
  --repo-url=<owner>/<repo>
  --use-graphql=false

TODO:

src/github.ts Outdated Show resolved Hide resolved
@RobertCraigie RobertCraigie marked this pull request as ready for review April 10, 2023 14:44
Copy link
Member

@rattrayalex rattrayalex left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Amazing, that was quick!

src/github.ts Outdated Show resolved Hide resolved
@RobertCraigie RobertCraigie merged commit d68bc9d into main Apr 11, 2023
@RobertCraigie RobertCraigie deleted the robert/use-rest-api branch April 11, 2023 09:51
marcel-stainless added a commit that referenced this pull request Aug 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants