From e6d765ed399d0a3aec91c9cfeef67d633779d64b Mon Sep 17 00:00:00 2001 From: Vijayakumar A <36878324+kumvijaya@users.noreply.github.com> Date: Tue, 9 Jul 2024 00:39:12 +0530 Subject: T6564: workflow trigger restriction for sagitta --- .github/workflows/build-package.yml | 4 ++++ .github/workflows/check-unused-imports.yml | 4 ++++ .github/workflows/codeql.yml | 8 ++++++++ 3 files changed, 16 insertions(+) (limited to '.github/workflows') diff --git a/.github/workflows/build-package.yml b/.github/workflows/build-package.yml index 12c435399..8cd0b85ea 100644 --- a/.github/workflows/build-package.yml +++ b/.github/workflows/build-package.yml @@ -3,6 +3,10 @@ on: pull_request: branches: - sagitta + paths: + - '**' + - '!.github/**' + - '!**/*.md' jobs: package-build: diff --git a/.github/workflows/check-unused-imports.yml b/.github/workflows/check-unused-imports.yml index 4c1eff794..ec6e835dc 100644 --- a/.github/workflows/check-unused-imports.yml +++ b/.github/workflows/check-unused-imports.yml @@ -3,6 +3,10 @@ on: pull_request_target: branches: - sagitta + paths: + - '**' + - '!.github/**' + - '!**/*.md' workflow_dispatch: permissions: diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 665cdda01..ebaadac70 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -4,10 +4,18 @@ on: push: branches: - sagitta + paths: + - '**' + - '!.github/**' + - '!**/*.md' pull_request: # The branches below must be a subset of the branches above branches: - sagitta + paths: + - '**' + - '!.github/**' + - '!**/*.md' schedule: - cron: '22 10 * * 0' workflow_dispatch: -- cgit v1.2.3