GRM-46: feat: enforce mandatory PR reviews with automated checks

This commit is contained in:
2026-06-21 23:22:08 +00:00
parent 749b4d025f
commit 9959b9c4ed
8 changed files with 995 additions and 11 deletions
+17
View File
@@ -205,3 +205,20 @@ jobs:
git add *.svg
git commit --no-verify -m "Update badges [skip ci]"
git push origin badges --force
pr-review:
if: github.event_name == 'pull_request'
runs-on: docker
steps:
- uses: actions/checkout@v4
- name: Set up environment
run: make setup
- name: Run automated PR review
env:
REPO_TOKEN: ${{ secrets.REPO_TOKEN }}
PYTHONPATH: src
run: |
. .venv/bin/activate
python3 scripts/ci/pr_review.py \
"${{ github.event.number }}" \
"${{ github.repository }}"