From 9b2cc5cebae596fab8cbf1f14efce2f4f5dc2331 Mon Sep 17 00:00:00 2001 From: Philip Molares Date: Sun, 2 Oct 2022 21:35:05 +0200 Subject: [PATCH] ci: add paths command to skip unnecessary GitHub actions Signed-off-by: Philip Molares --- .github/workflows/codeql-analysis.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index e827ea02c..264fbb966 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -18,9 +18,15 @@ name: "CodeQL" on: push: branches: [ develop ] + paths: + - 'src/' + - 'test/' pull_request: # The branches below must be a subset of the branches above branches: [ develop ] + paths: + - 'src/' + - 'test/' schedule: - cron: '15 4 * * 3'