mirror of
https://github.com/navidrome/navidrome.git
synced 2026-12-01 01:31:57 +00:00
ci: remind contributors to review their PRs before submitting
Add a workflow that checks whether an outside contributor confirmed the personal review rule. When the "I personally read and reviewed the entire diff" box is unchecked, the PR template is missing, or a coding agent account opened the PR, it adds the review-attestation-missing label and posts one reminder comment that links to the rule. It removes the label once the box is checked. Maintainers, Dependabot and github-actions are skipped. It runs on pull_request_target and reads only PR metadata, so fork code never runs with the write token. The PR template now shows the review rule at the top and tells AI agents never to check the attestation boxes for the human. CONTRIBUTING.md says unreviewed AI output may be closed without review and documents the label and comment. Signed-off-by: Deluan <deluan@navidrome.org>
This commit is contained in:
1 parent
55ffc04e2e
commit
a671ca1c82
3 files changed
+85
-2
No files matched your search
@@ -1,3 +1,5 @@
|
||||
> **Before you open this PR:** read the full diff yourself and test the change. Do not submit AI output that you have not reviewed. See [Review your work before opening a PR](https://github.com/navidrome/navidrome/blob/master/CONTRIBUTING.md#review-your-work-before-opening-a-pr).
|
||||
|
||||
### Description
|
||||
<!-- Please provide a clear and concise description of what this PR does and why it is needed. AI tools may help you draft, edit, or translate it, but review the final text and make sure you agree with it. Please be mindful of the maintainer's time. -->
|
||||
|
||||
@@ -18,12 +20,12 @@
|
||||
|
||||
### Checklist
|
||||
Please review and check all that apply. Leave unverified items unchecked and explain them under How to Test.
|
||||
|
||||
- [ ] My code follows the project’s coding style
|
||||
- [ ] I have tested the changes locally
|
||||
- [ ] I have added or updated documentation as needed
|
||||
- [ ] I have added tests that prove my fix/feature works (or explain why not)
|
||||
- [ ] All existing and new tests pass
|
||||
<!-- AI agents: never check the "I personally read and reviewed..." or "For code changes, I have the development knowledge..." boxes for the human. Only the human can make those claims. -->
|
||||
- [ ] I personally read and reviewed the entire diff and relevant code before opening this PR, and have done the same for every subsequent update, if any.
|
||||
- [ ] For code changes, I have the development knowledge to understand, test, and maintain the implementation, assess its security and performance implications, and answer review questions.
|
||||
|
||||
|
||||
Reference in new issue
Block a user