Only check contrib scripts when one of them changes

Less unnecessary CI!
This commit is contained in:
Eldred Habert
2026-09-18 21:39:30 +02:00
committed by GitHub
parent aab22852d3
commit c803a20259
+5 -2
View File
@@ -1,7 +1,10 @@
name: Contrib script syntax checking
on:
- push
- pull_request
push:
paths: [ 'contrib/**', .github/scripts/check-contrib.sh ]
pull_request:
paths: [ 'contrib/**', .github/scripts/check-contrib.sh ]
workflow_dispatch:
env:
# Force colored output (see https://bixense.com/clicolors/ and https://force-color.org/)