Files
navidrome/.github/pull_request_template.md
T
Deluan a671ca1c82 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>
2026-11-20 11:06:50 -05:00

3.1 KiB
Raw Blame History

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

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.

How to Test

Screenshots / Demos (if applicable)

Additional Notes