From b304742ef8829b7e12173afe91d9b4bdd8de59fc Mon Sep 17 00:00:00 2001 From: Aitor Perez Cedres <1515757+Zerpet@users.noreply.github.com> Date: Tue, 29 Oct 2024 12:47:24 +0000 Subject: [PATCH] CodeQL workflow to ignore non-code files --- .github/workflows/codeql-analysis.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 89103a5f2..41393f265 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -14,9 +14,19 @@ name: "CodeQL" on: push: branches: [ main ] + paths-ignore: + - 'docs/**' + - '*.md' + - 'LICENSE.txt' + - 'PROJECT' pull_request: # The branches below must be a subset of the branches above branches: [ main ] + paths-ignore: + - 'docs/**' + - '*.md' + - 'LICENSE.txt' + - 'PROJECT' schedule: - cron: '0 0 * * 0'