diff options
author | Vijayakumar A <36878324+kumvijaya@users.noreply.github.com> | 2024-07-07 08:01:40 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-07 05:31:40 +0300 |
commit | d386072c2b34ad33b667c00f21062cf1c6defa3d (patch) | |
tree | e6a99bc0f383f23094ca0f649f464b3627c73bb8 | |
parent | 21a857811a6f2484756134d4f0b6865c6b09e790 (diff) | |
download | vyos-1x-d386072c2b34ad33b667c00f21062cf1c6defa3d.tar.gz vyos-1x-d386072c2b34ad33b667c00f21062cf1c6defa3d.zip |
T6560: added workflow trigger path restrictions (#3799)
-rw-r--r-- | .github/workflows/check-unused-imports.yml | 4 | ||||
-rw-r--r-- | .github/workflows/codeql.yml | 8 | ||||
-rw-r--r-- | .github/workflows/package-smoketest.yml | 4 | ||||
-rw-r--r-- | .github/workflows/sonarcloud.yml | 8 |
4 files changed, 24 insertions, 0 deletions
diff --git a/.github/workflows/check-unused-imports.yml b/.github/workflows/check-unused-imports.yml index 3f6e8757e..76bba94be 100644 --- a/.github/workflows/check-unused-imports.yml +++ b/.github/workflows/check-unused-imports.yml @@ -3,6 +3,10 @@ on: pull_request_target: branches: - current + paths: + - '**' + - '!.github/**' + - '!**/*.md' workflow_dispatch: permissions: 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' diff --git a/.github/workflows/package-smoketest.yml b/.github/workflows/package-smoketest.yml index 68f914108..824cd64b1 100644 --- a/.github/workflows/package-smoketest.yml +++ b/.github/workflows/package-smoketest.yml @@ -4,6 +4,10 @@ on: pull_request_target: branches: - current + paths: + - '**' + - '!.github/**' + - '!**/*.md' permissions: pull-requests: write 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 |