Skip to content

Migrate token generation to new action#2370

Open
Luna712 wants to merge 6 commits intorecloudstream:masterfrom
Luna712:token-action
Open

Migrate token generation to new action#2370
Luna712 wants to merge 6 commits intorecloudstream:masterfrom
Luna712:token-action

Conversation

@Luna712
Copy link
Copy Markdown
Contributor

@Luna712 Luna712 commented Dec 23, 2025

In GitHub settings, the secret GH_APP_ID should be deleted, replaced with a var (https://docs.github.com/en/actions/how-tos/write-workflows/choose-what-workflows-do/use-variables#defining-configuration-variables-for-multiple-workflows) called APP_CLIENT_ID which should be the client ID for the GitHub App rather than the current App ID usage. Additionally, the secret GH_APP_KEY should be renamed to APP_PRIVATE_KEY. I was just following the exact examples on https://github.com/actions/create-github-app-token.

I have tested all actions except the issue actions, though I could easily test it also but it shouldn't have any issues. As a result of my testing in my fork, I also made the actions more usable in forks as long as you have the necessary repositories and signing keys. That should also make testing action changes (such as the rest of #2367) easier for me personally and potentially others in the future as well.

Does part of #2367. I plan to do the rest of that (replace the release action) after this one is done. Making it more generic and usable in forks will make that easier as well.

@Luna712
Copy link
Copy Markdown
Contributor Author

Luna712 commented May 6, 2026

@fire-light42 this is tested on my fork now. But does require some changes to secrets as explained in the PR description.

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.

1 participant