Repository navigation
feat: auto-label allow-ci for collaborators and add CODEOWNERS - #531
Merged
Merged
Conversation
Adds a pull_request_target workflow that checks if the PR author has write/admin access and automatically adds the allow-ci label. Adds CODEOWNERS to auto-request reviews from vic and sini for changes to nix/ and modules/.
vic
approved these changes
May 13, 2026
Member
|
I will merge because we need the workflow on main to test :) |
sini
added a commit
that referenced
this pull request
May 13, 2026
## Summary - Adds `pull-requests: write` permission so `GITHUB_TOKEN` can add labels - Removes `synchronize` trigger so the workflow only runs on PR open/reopen, not on every push Fixes the `Resource not accessible by integration` error from #531.
charlesfire
pushed a commit
to charlesfire/den
that referenced
this pull request
May 16, 2026
…l#531) ## Summary - Adds `auto-allow-ci` workflow using `pull_request_target` that checks if the PR author has write/admin collaborator access and automatically adds the `allow-ci` label - Adds `CODEOWNERS` to auto-request reviews from @vic and @sini for changes to `nix/` and `modules/` ## Test plan - [ ] Open a test PR from a collaborator account — verify `allow-ci` label is added automatically - [ ] Open a test PR from a non-collaborator — verify no label is added - [ ] Modify a file in `nix/` or `modules/` — verify review is requested from vic and sini
charlesfire
pushed a commit
to charlesfire/den
that referenced
this pull request
May 16, 2026
## Summary - Adds `pull-requests: write` permission so `GITHUB_TOKEN` can add labels - Removes `synchronize` trigger so the workflow only runs on PR open/reopen, not on every push Fixes the `Resource not accessible by integration` error from denful#531.
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.
Summary
auto-allow-ciworkflow usingpull_request_targetthat checks if the PR author has write/admin collaborator access and automatically adds theallow-cilabelCODEOWNERSto auto-request reviews from @vic and @sini for changes tonix/andmodules/Test plan
allow-cilabel is added automaticallynix/ormodules/— verify review is requested from vic and sini