summaryrefslogtreecommitdiff
path: root/.github/workflows/sonarcloud.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/sonarcloud.yml
parent21a857811a6f2484756134d4f0b6865c6b09e790 (diff)
downloadvyos-1x-d386072c2b34ad33b667c00f21062cf1c6defa3d.tar.gz
vyos-1x-d386072c2b34ad33b667c00f21062cf1c6defa3d.zip
T6560: added workflow trigger path restrictions (#3799)
Diffstat (limited to '.github/workflows/sonarcloud.yml')
-rw-r--r--.github/workflows/sonarcloud.yml8
1 files changed, 8 insertions, 0 deletions
diff --git a/.github/workflows/sonarcloud.yml b/.github/workflows/sonarcloud.yml
index 5fa005631..a8eaca777 100644
--- a/.github/workflows/sonarcloud.yml
+++ b/.github/workflows/sonarcloud.yml
@@ -3,8 +3,16 @@ on:
push:
branches:
- current
+ paths:
+ - '**'
+ - '!.github/**'
+ - '!**/*.md'
pull_request_target:
types: [opened, synchronize, reopened]
+ paths:
+ - '**'
+ - '!.github/**'
+ - '!**/*.md'
jobs:
sonar-cloud:
name: SonarCloud