From c803a20259db869e1a85793ecc707f2a9bae76c7 Mon Sep 17 00:00:00 2001 From: Eldred Habert Date: Fri, 18 Sep 2026 21:39:30 +0200 Subject: [PATCH] Only check contrib scripts when one of them changes Less unnecessary CI! --- .github/workflows/check-contrib.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/check-contrib.yml b/.github/workflows/check-contrib.yml index 34e24620..e1dfccd9 100644 --- a/.github/workflows/check-contrib.yml +++ b/.github/workflows/check-contrib.yml @@ -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/)