ci: check pull requests against the contributing rules

Co-Authored-By: Claude <[email protected]>
This commit is contained in:
Adrià FranchandClaude committed 2026-10-07 17:03:37 +02:00
1 parent 1e5bb880bb
commit 34026e88f9
3 files changed
+302

No files matched your search

+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 }}