ci: check pull requests against the contributing rules

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Adrià Franch
2026-10-03 17:18:12 +02:00
parent 1e5bb880bb
commit 34026e88f9
3 changed files with 302 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
name: Conventions
on:
pull_request:
types: [opened, synchronize, reopened, edited]
permissions:
contents: read
concurrency:
group: conventions-${{ github.ref }}
cancel-in-progress: true
jobs:
conventions:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@v7
with:
fetch-depth: 0
- run: python3 tools/check_conventions.py --base ${{ github.event.pull_request.base.sha }} --head ${{ github.event.pull_request.head.sha }}