From c84b4a15ba37bfcdb7b4cd776dac7bfaeb4a67b4 Mon Sep 17 00:00:00 2001 From: Niels de Vos Date: Tue, 21 Feb 2023 09:35:41 +0100 Subject: [PATCH] ci: only run `test-retest-action` if the PR modifies the action There is no need to run the `test-retest-action` GitHub Workflow if there are no changes under the `actions/retest` directory. Signed-off-by: Niels de Vos --- .github/workflows/test-retest-action.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/test-retest-action.yaml b/.github/workflows/test-retest-action.yaml index 3d732370d..08bbb735a 100644 --- a/.github/workflows/test-retest-action.yaml +++ b/.github/workflows/test-retest-action.yaml @@ -4,6 +4,9 @@ name: test-retest-action on: pull_request: branches: [devel] + paths: + - 'actions/retest/**' + - '.github/workflows/test-retest-action.yaml' permissions: contents: read