Skip to content

Add GitHub App token minting for release workflow - #60214

Merged
mnkiefer merged 1 commit into
mainfrom
fix-release-tag-step
Sep 11, 2026
Merged

mnkiefer merged 1 commit into
mainfrom
fix-release-tag-step

Conversation

@mnkiefer

@mnkiefer mnkiefer commented Sep 11, 2026 •

Copy link
Copy Markdown
Collaborator
  • Introduces a step to mint a GitHub App token using actions/create-github-app-token.
  • Configures the token with necessary permissions for contents and workflows.
  • Updates the checkout step to use the minted token for authentication.

- Introduced a step to mint a GitHub App token using actions/create-github-app-token.
- Configured the token with necessary permissions for contents and workflows.
- Updated the checkout step to use the minted token for authentication.
@mnkiefer mnkiefer self-assigned this Sep 11, 2026
Copilot AI balanced review requested due to automatic review settings September 11, 2026 06:53
@mnkiefer
mnkiefer merged commit 44d03e9 into main Sep 11, 2026
13 checks passed
@mnkiefer
mnkiefer deleted the fix-release-tag-step branch September 11, 2026 06:56

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🟡 Changes recommended

The App token is overprivileged and remains exposed to later build steps.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Review tier: Balanced
Findings: 1 Medium severity

New issues introduced by this change (1)
Severity Finding
Medium severity .github/​workflows/​release.md — Remove unnecessary workflow-write permission
What changed in this PR

Adds GitHub App authentication to the release workflow so tag pushes can trigger downstream workflows.

Changes:

  • Mints and uses an App token for checkout.
  • Requests repository and workflow write permissions.
  • Regenerates workflow and action lock data.
File Description
.github/​workflows/​release.md Adds App-token minting and authenticated checkout.
.github/​workflows/​release.lock.yml Compiles the token changes into the runnable workflow.
.github/​aw/​actions-lock.json Updates resolved action pins.

Comment on lines +245 to +246
permission-contents: write
permission-workflows: write
@github-actions

Copy link
Copy Markdown
Contributor

🎉 This pull request is included in a new release.

Release: v0.89.4

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.

2 participants