From e888d2c4a864aa7d403330685375c6a881edbde4 Mon Sep 17 00:00:00 2001 From: James Elliott Date: Sat, 2 Apr 2022 15:38:52 +1100 Subject: [PATCH] ci: skip codeql on repo or doc files (#3093) --- .github/workflows/codeql-analysis.yml | 34 +++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index d40b36e4..7d8d74d7 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -18,10 +18,44 @@ on: branches: - master - gh-pages + paths-ignore: + - '.github/**' + - '.buildkite/**' + - 'docs/**' + - 'examples/**' + - '*.env' + - '*.yml' + - '*.service' + - '*.sh' + - '*.md' + - '.all-contributorsrc' + - '.dockerignore' + - '.gitignore' + - '.renovaterc' + - 'Dockerfile' + - 'Dockerfile.*' + - 'LICENSE' pull_request: # The branches below must be a subset of the branches above branches: - master + paths-ignore: + - '.github/**' + - '.buildkite/**' + - 'docs/**' + - 'examples/**' + - '*.env' + - '*.yml' + - '*.service' + - '*.sh' + - '*.md' + - '.all-contributorsrc' + - '.dockerignore' + - '.gitignore' + - '.renovaterc' + - 'Dockerfile' + - 'Dockerfile.*' + - 'LICENSE' schedule: - cron: '25 13 * * 3'