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>