From 709a1d081f57af1fe8798a08f5aa132a7b269feb Mon Sep 17 00:00:00 2001 From: Sergey Date: Fri, 9 Feb 2024 19:52:44 +0100 Subject: [PATCH] Run the CodeQL workflow on the `/src` changes only --- .github/workflows/codeql.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index e365aec..f5e903b 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -3,13 +3,18 @@ name: "CodeQL" on: push: branches: [ "dev", "master" ] + paths: + - 'src/**' pull_request: - branches: [main] + branches: [main] + paths: + - 'src/**' paths-ignore: - '**/*.md' - '**/*.txt' schedule: - cron: '22 1 * * 1' + workflow_dispatch: jobs: analyze: