Repository navigation
[backports] allow maintain role in backport workflow permission checks - #21017
Merged
Merged
Conversation
Extend the actor permission gate in auto-backport and sync-backport-changelog workflows to accept `maintain` in addition to `write` and `admin`. Users with the maintain role have push access and should be able to trigger backports. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
mrodm
marked this pull request as ready for review
September 2, 2026 11:26
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
The changes are small, consistent across both workflows, and correctly broaden the permission check to include maintain without altering workflow behavior otherwise.
Pull request overview
This PR updates the repository’s backport automation permission gate to allow collaborators with GitHub’s maintain role (in addition to write and admin) to trigger the auto-backport and sync-backport-changelog workflows.
Changes:
- Expanded the actor permission check to accept
maintainin both workflows. - Updated the skip log message to reflect the expanded accepted permission set.
File summaries
| File | Description |
|---|---|
| .github/workflows/auto-backport.yml | Adds maintain to the allowed permission levels for the actor gate in the backport automation workflow. |
| .github/workflows/sync-backport-changelog.yml | Adds maintain to the allowed permission levels for the actor gate in the changelog sync backport workflow. |
Review details
- Files reviewed: 2/2 changed files
- Comments generated: 0
- Review effort level: Lite
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
teresaromero
approved these changes
Sep 3, 2026
Contributor
|
Tick the box to add this pull request to the merge queue (same as
|
mrodm
added a commit
to mrodm/integrations
that referenced
this pull request
Sep 14, 2026
…ssion (elastic#21017) - Replace second `mage applyBackport` with `backport apply` in the package owner synchronization section (missed in previous commit). - Update /sync-changelog permission from "write access" to "write or maintain access" to match PR elastic#21017 (merged 2026-09-03). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Merged
3 tasks done
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.
Proposed commit message
Author's Checklist
maintainpermission level includes push access in GitHub's permission modelauto-backport.yml,sync-backport-changelog.yml) updated consistentlyRelated issues