summaryrefslogtreecommitdiff
path: root/.github/workflows/codeql.yml
diff options
context:
space:
mode:
authorVijayakumar A <36878324+kumvijaya@users.noreply.github.com>2024-07-09 23:36:28 +0530
committerGitHub <noreply@github.com>2024-07-09 21:06:28 +0300
commit2470f189a74fdeebdeca57ab21f6a6804069ddaf (patch)
treed05a7b1567ea7ef594a3e8cab63fa8515aa7f006 /.github/workflows/codeql.yml
parent863ff36b84e4d0220a5fb79b2243502c85deb0c1 (diff)
downloadvyos-1x-2470f189a74fdeebdeca57ab21f6a6804069ddaf.tar.gz
vyos-1x-2470f189a74fdeebdeca57ab21f6a6804069ddaf.zip
T6564: workflow trigger restrictions for circinus (#3802)
Diffstat (limited to '.github/workflows/codeql.yml')
-rw-r--r--.github/workflows/codeql.yml12
1 files changed, 10 insertions, 2 deletions
diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml
index 0a7c18ba6..c04806c5c 100644
--- a/.github/workflows/codeql.yml
+++ b/.github/workflows/codeql.yml
@@ -3,9 +3,17 @@ name: "Perform CodeQL Analysis"
on:
push:
branches: [ "circinus" ]
- pull_request:
+ paths:
+ - '**'
+ - '!.github/**'
+ - '!**/*.md'
+ pull_request_target:
# The branches below must be a subset of the branches above
branches: [ "circinus" ]
+ paths:
+ - '**'
+ - '!.github/**'
+ - '!**/*.md'
schedule:
- cron: '22 10 * * 0'
@@ -16,7 +24,7 @@ permissions:
jobs:
codeql-analysis-call:
- uses: vyos/.github/.github/workflows/codeql-analysis.yml@current
+ uses: vyos/.github/.github/workflows/codeql-analysis.yml@circinus
secrets: inherit
with:
languages: "['python']"