Skip to content

Allow directly entering GitHub personal access token.#30

Closed
zhongliang02 wants to merge 1 commit intoccmenu:mainfrom
zhongliang02:feat/allow-directly-entering-github-pat
Closed

Allow directly entering GitHub personal access token.#30
zhongliang02 wants to merge 1 commit intoccmenu:mainfrom
zhongliang02:feat/allow-directly-entering-github-pat

Conversation

@zhongliang02
Copy link

@zhongliang02 zhongliang02 commented Feb 5, 2026

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 repo scope.

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

@erikdoe
Copy link
Member

erikdoe commented Feb 6, 2026

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.

@erikdoe erikdoe closed this Feb 6, 2026
@zhongliang02
Copy link
Author

Thank you!

@zhongliang02
Copy link
Author

will you make a new release?

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

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants