From 0d7cedc0dd7cbe595ba415bbad226262a5358a3d Mon Sep 17 00:00:00 2001 From: Elango Cheran Date: Tue, 27 Feb 2024 07:51:27 -0800 Subject: [PATCH] ICU-22532 Trigger CI workflows when workflow definitions change --- .ci-builds/.azure-exhaustive-tests.yml | 3 ++- .ci-builds/.azure-pipelines-icu4c.yml | 3 ++- .ci-builds/.azure-pipelines-icu4j.yml | 3 ++- .github/workflows/icu4c.yml | 2 ++ .github/workflows/icu4j.yml | 2 ++ .github/workflows/icu_docs.yml | 2 ++ .github/workflows/icu_valgrind.yml | 2 ++ 7 files changed, 14 insertions(+), 3 deletions(-) diff --git a/.ci-builds/.azure-exhaustive-tests.yml b/.ci-builds/.azure-exhaustive-tests.yml index 18b9132c2430..6d1cb52b8b9a 100644 --- a/.ci-builds/.azure-exhaustive-tests.yml +++ b/.ci-builds/.azure-exhaustive-tests.yml @@ -17,7 +17,8 @@ trigger: - '*' exclude: - .github/* - - .ci-builds/.azure-pipelines.yml + - .ci-builds/.azure-pipelines-icu4c.yml + - .ci-builds/.azure-pipelines-icu4j.yml - .ci-builds/.azure-valgrind.yml - docs/* - tools/* diff --git a/.ci-builds/.azure-pipelines-icu4c.yml b/.ci-builds/.azure-pipelines-icu4c.yml index dc14941615bd..ba417a781475 100644 --- a/.ci-builds/.azure-pipelines-icu4c.yml +++ b/.ci-builds/.azure-pipelines-icu4c.yml @@ -1,7 +1,6 @@ # Azure Pipelines (VSTS) configuration for CI builds for ICU. trigger: - batch: true branches: include: - main @@ -9,6 +8,7 @@ trigger: paths: include: - icu4c + - .ci-builds/.azure-pipelines-icu4c.yml pr: branches: @@ -18,6 +18,7 @@ pr: paths: include: - icu4c + - .ci-builds/.azure-pipelines-icu4c.yml variables: diff --git a/.ci-builds/.azure-pipelines-icu4j.yml b/.ci-builds/.azure-pipelines-icu4j.yml index bcd4113d8c3e..431d855f4fb2 100644 --- a/.ci-builds/.azure-pipelines-icu4j.yml +++ b/.ci-builds/.azure-pipelines-icu4j.yml @@ -1,7 +1,6 @@ # Azure Pipelines (VSTS) configuration for CI builds for ICU. trigger: - batch: true branches: include: - main @@ -9,6 +8,7 @@ trigger: paths: include: - icu4j + - .ci-builds/.azure-pipelines-icu4j.yml pr: branches: @@ -18,6 +18,7 @@ pr: paths: include: - icu4j + - .ci-builds/.azure-pipelines-icu4j.yml variables: MAVEN_ARGS: '--show-version --no-transfer-progress' diff --git a/.github/workflows/icu4c.yml b/.github/workflows/icu4c.yml index e07a1194dd1a..2cf9e7522e08 100644 --- a/.github/workflows/icu4c.yml +++ b/.github/workflows/icu4c.yml @@ -12,10 +12,12 @@ on: - 'maint/maint*' paths: - 'icu4c/**' + - '.github/workflows/**' pull_request: branches: '**' paths: - 'icu4c/**' + - '.github/workflows/**' workflow_dispatch: # To trigger the Env Test workflow manually, follow the instructions in # https://docs.github.com/en/actions/managing-workflow-runs/manually-running-a-workflow diff --git a/.github/workflows/icu4j.yml b/.github/workflows/icu4j.yml index 4f69fe7cea55..0665dd502ea4 100644 --- a/.github/workflows/icu4j.yml +++ b/.github/workflows/icu4j.yml @@ -12,10 +12,12 @@ on: - 'maint/maint*' paths: - 'icu4j/**' + - '.github/workflows/**' pull_request: branches: '**' paths: - 'icu4j/**' + - '.github/workflows/**' workflow_dispatch: # To trigger the Env Test workflow manually, follow the instructions in # https://docs.github.com/en/actions/managing-workflow-runs/manually-running-a-workflow diff --git a/.github/workflows/icu_docs.yml b/.github/workflows/icu_docs.yml index d8d81d5adeee..35cd1902b8e5 100644 --- a/.github/workflows/icu_docs.yml +++ b/.github/workflows/icu_docs.yml @@ -12,10 +12,12 @@ on: - 'maint/maint*' paths: - 'docs/**' + - '.github/workflows/**' pull_request: branches: '**' paths: - 'docs/**' + - '.github/workflows/**' workflow_dispatch: # To trigger the Env Test workflow manually, follow the instructions in # https://docs.github.com/en/actions/managing-workflow-runs/manually-running-a-workflow diff --git a/.github/workflows/icu_valgrind.yml b/.github/workflows/icu_valgrind.yml index 52a3e6c90282..ab62f36d680c 100644 --- a/.github/workflows/icu_valgrind.yml +++ b/.github/workflows/icu_valgrind.yml @@ -13,10 +13,12 @@ on: - 'maint/maint*' paths: - 'icu4c/**' + - '.github/workflows/**' pull_request: branches: '**' paths: - 'icu4c/**' + - '.github/workflows/**' permissions: contents: read