Repository navigation
Fix Dependabot merge token workflow permission - #4664
Merged
Merged
Conversation
Grant the scoped merge token workflow write access so Dependabot updates to GitHub Actions workflows can be merged. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 9d1948dd-9020-4960-bfcd-1898ed5e1d59
Contributor
There was a problem hiding this comment.
🔵 Needs a closer look
Granting workflows:write lets unattended merges modify privileged CI workflows, including the automation itself, requiring maintainer validation of the expanded trust boundary and unverified App installation permissions.
No open issues 🎉
What changed in this PR
Updates Dependabot automation so its scoped merge token can merge updates that modify GitHub Actions workflows, addressing the reported HTTP 403 failure for #4658.
Changes:
- Adds
permission-workflows: writeto the merge token request while preserving its existing repository scope and other permissions.
| File | Description |
|---|---|
.github/workflows/dependabot-pr.yml |
Grants the scoped merge token permission to merge workflow updates. |
Review effort: Max (adaptive)
cklin
enabled auto-merge
November 19, 2026 19:17
kaspersv
approved these changes
Nov 20, 2026
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.
Grant
workflows: writeto the scoped Dependabot merge token so it can merge updates that modify GitHub Actions workflow files.Recent automation runs fail when merging #4658 with HTTP 403 because the merge token omits this permission. The
codeql-ci-appalready has the permission; this change includes it in the restricted token request.Validation:
node --test .github/dependabot-automation/*.test.cjspassed (77 tests);git diff --checkpassed. Live merging has not been tested.No changelog entry is needed because this only changes repository automation.
Remember to update the changelog if there have been user-facing changes!