From 7d97cfadb036ca214d77190c054d58f4dfb16072 Mon Sep 17 00:00:00 2001 From: daz Date: Thu, 11 Apr 2024 22:54:09 -0600 Subject: [PATCH] Avoid most workflows when only 'dist' has changed --- .github/workflows/ci-check-and-unit-test.yml | 2 ++ .github/workflows/ci-codeql.yml | 6 +++++- .github/workflows/ci-init-script-check.yml | 2 ++ 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci-check-and-unit-test.yml b/.github/workflows/ci-check-and-unit-test.yml index 24b6dd5..0679783 100644 --- a/.github/workflows/ci-check-and-unit-test.yml +++ b/.github/workflows/ci-check-and-unit-test.yml @@ -5,6 +5,8 @@ on: branches: - 'main' - 'release/**' + paths_ignore: + - 'dist/**' pull_request: permissions: diff --git a/.github/workflows/ci-codeql.yml b/.github/workflows/ci-codeql.yml index 4d60351..05040f8 100644 --- a/.github/workflows/ci-codeql.yml +++ b/.github/workflows/ci-codeql.yml @@ -2,7 +2,11 @@ name: CI-codeql on: push: - branches: [ "main" ] + branches: + - 'main' + - 'release/**' + paths_ignore: + - 'dist/**' schedule: - cron: '25 23 * * 2' diff --git a/.github/workflows/ci-init-script-check.yml b/.github/workflows/ci-init-script-check.yml index 9446671..40af168 100644 --- a/.github/workflows/ci-init-script-check.yml +++ b/.github/workflows/ci-init-script-check.yml @@ -5,6 +5,8 @@ on: branches: - 'main' - 'release/**' + paths_ignore: + - 'dist/**' pull_request: paths: - '.github/workflows/ci-init-script-check.yml'