summaryrefslogtreecommitdiff
path: root/.github/workflows/codeql.yml
diff options
context:
space:
mode:
authorVijayakumar A <36878324+kumvijaya@users.noreply.github.com>2024-07-07 08:01:40 +0530
committerGitHub <noreply@github.com>2024-07-07 05:31:40 +0300
commitd386072c2b34ad33b667c00f21062cf1c6defa3d (patch)
treee6a99bc0f383f23094ca0f649f464b3627c73bb8 /.github/workflows/codeql.yml
parent21a857811a6f2484756134d4f0b6865c6b09e790 (diff)
downloadvyos-1x-d386072c2b34ad33b667c00f21062cf1c6defa3d.tar.gz
vyos-1x-d386072c2b34ad33b667c00f21062cf1c6defa3d.zip
T6560: added workflow trigger path restrictions (#3799)
Diffstat (limited to '.github/workflows/codeql.yml')
-rw-r--r--.github/workflows/codeql.yml8
1 files changed, 8 insertions, 0 deletions
diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml
index 00387f725..143029c14 100644
--- a/.github/workflows/codeql.yml
+++ b/.github/workflows/codeql.yml
@@ -3,9 +3,17 @@ name: "Perform CodeQL Analysis"
on:
push:
branches: [ "current" ]
+ paths:
+ - '**'
+ - '!.github/**'
+ - '!**/*.md'
pull_request:
# The branches below must be a subset of the branches above
branches: [ "current" ]
+ paths:
+ - '**'
+ - '!.github/**'
+ - '!**/*.md'
schedule:
- cron: '22 10 * * 0'