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

Allow pat tokens #196

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Conversation

cd-Barnes
Copy link

Hey folks, considering more organizations are choosing to force the use of the new fine-grained access tokens, I took a stab at implementing the feature. It's working well on our end. Lmk what you think.

Basically I'm solving this with a new var: github-token-type. If this value is not specified, or classic, then we'll use the old --token arg. If the user passes fine-grained, then we will use the --pat arg that allows the use of fine-grained tokens.

Note that this change also includes the work done in #127. Simply because we needed both fixes. However I'm happy to leave that out and allow discussion to continue over there if that's preferable.

Fixes #160, builds upon #127

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.

[feature request] Allow use of Fine-grained personal access tokens
1 participant