mirror of
https://github.com/navidrome/navidrome.git
synced 2026-11-24 03:16:52 +03:00
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>
3.1 KiB
3.1 KiB
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.
Description
AI use (check one):
- Yes, AI helped generate or modify code or tests, draft substantive PR text, or create this PR
- No
Related Issues
Type of Change
- Bug fix
- New feature
- Documentation update
- Refactor
- Other (please describe):
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
- 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.