Allow directly entering GitHub personal access token.#30
Closed
zhongliang02 wants to merge 1 commit intoccmenu:mainfrom
Closed
Allow directly entering GitHub personal access token.#30zhongliang02 wants to merge 1 commit intoccmenu:mainfrom
zhongliang02 wants to merge 1 commit intoccmenu:mainfrom
Conversation
Member
|
Thanks for finding this out. In the GitHub panel, though, I didn't want to make the token field editable. So, I've implemented a similar solution here 3e7b670. Have a look and let me know if that works for you, too. |
Author
|
Thank you! |
Author
|
will you make a new release? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Thank you Erik for this fantastic app, it's exactly what I've been looking for.
However, the requested OAuth scope for Github login is too broad for my organisation.
What I found is a workaround, where if I make the authentication field editable in the "Add GitHub Actions workflow" dialog, I can put in a fine-grained PAT with the appropriate permissions (Actions read-only + Contents read-only), I am able to monitor workflows without having to authorize the
reposcope.I've tested it with my org's repos and it works fine.
However, I will caveat that the code here is written with AI, and while I read through every line of change, I am not personally familiar with Swift, so if there's a better way to do it, let me know.
Related to discussion #8