Skip to content

ci: migrate GH_TOKEN_ADMIN to GitHub App token#457

Merged
mbruzda-splunk merged 1 commit intomainfrom
ci/migrate-gh-token-to-app
Apr 21, 2026
Merged

ci: migrate GH_TOKEN_ADMIN to GitHub App token#457
mbruzda-splunk merged 1 commit intomainfrom
ci/migrate-gh-token-to-app

Conversation

@mbruzda-splunk
Copy link
Copy Markdown

Summary

  • Replace the long-lived PAT (GH_TOKEN_ADMIN) with a short-lived GitHub App installation token in the publish job
  • Add actions/create-github-app-token@v3 step after checkout, using GH_APP_CLIENT_ID and GH_APP_PRIVATE_KEY secrets
  • Update GITHUB_TOKEN env var for semantic-release-action to use the generated app token

Made with Cursor

Replace the long-lived PAT (GH_TOKEN_ADMIN) with a short-lived
GitHub App installation token generated by
actions/create-github-app-token@v3 in the publish job.

Made-with: Cursor
@mbruzda-splunk mbruzda-splunk requested a review from a team as a code owner April 17, 2026 12:57
@mbruzda-splunk mbruzda-splunk merged commit d08e071 into main Apr 21, 2026
15 checks passed
@mbruzda-splunk mbruzda-splunk deleted the ci/migrate-gh-token-to-app branch April 21, 2026 13:16
@github-actions github-actions Bot locked and limited conversation to collaborators Apr 21, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants