Skip to content

feat: auto-label allow-ci for collaborators and add CODEOWNERS - #531

Merged
vic merged 1 commit into
mainfrom
auto-allow-ci-and-codeowners
May 13, 2026
Merged

vic merged 1 commit into
mainfrom
auto-allow-ci-and-codeowners

Conversation

@sini

@sini sini commented May 13, 2026

Copy link
Copy Markdown
Collaborator

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

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/.
@sini sini added the allow-ci allow all CI integration tests label May 13, 2026
@vic

vic commented May 13, 2026

Copy link
Copy Markdown
Member

I will merge because we need the workflow on main to test :)

@vic
vic merged commit 367c33b into main May 13, 2026
12 of 13 checks passed
@vic
vic deleted the auto-allow-ci-and-codeowners branch May 13, 2026 19:42
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

allow-ci allow all CI integration tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants