From 4a9163160c8372622ada79479df886f443aaf505 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebasti=C3=A1n=20Passaro?= <30912689+spassarop@users.noreply.github.com> Date: Sat, 12 Feb 2022 19:50:27 -0300 Subject: [PATCH] Update codeql-analysis.yml Edit paths to include and ignore setting for workflow runs --- .github/workflows/codeql-analysis.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 80c05f0b..d8064ffc 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -6,17 +6,18 @@ name: "CodeQL" -paths: - - src -paths-ignore: - - src/test - on: push: branches: [main] + paths: + - 'src/**' + - '!src/test/**' pull_request: # The branches below must be a subset of the branches above branches: [main] + paths: + - 'src/**' + - '!src/test/**' schedule: - cron: '0 9 * * 5'