From 0d6381c354c4204c0414a060d4b1368838b0ce05 Mon Sep 17 00:00:00 2001 From: Kevin Duret Date: Mon, 20 Jan 2025 11:52:43 +0100 Subject: [PATCH] enh(ci): trigger workflows on new major version --- .github/workflows/centreon-collect.yml | 2 ++ .github/workflows/centreon-common.yml | 2 ++ .github/workflows/docker-gorgone-testing.yml | 2 ++ .github/workflows/gorgone.yml | 2 ++ .github/workflows/libzmq.yml | 2 ++ .github/workflows/lua-curl.yml | 2 ++ .github/workflows/windows-agent.yml | 2 ++ 7 files changed, 14 insertions(+) diff --git a/.github/workflows/centreon-collect.yml b/.github/workflows/centreon-collect.yml index f5b1a15e6f..0bb3d15a56 100644 --- a/.github/workflows/centreon-collect.yml +++ b/.github/workflows/centreon-collect.yml @@ -38,6 +38,7 @@ on: - cron: '30 0 * * 1-5' pull_request: paths: + - ".version" - agent/** - bbdo/** - broker/** @@ -66,6 +67,7 @@ on: - master - "[2-9][0-9].[0-9][0-9].x" paths: + - ".version" - agent/** - bbdo/** - broker/** diff --git a/.github/workflows/centreon-common.yml b/.github/workflows/centreon-common.yml index 38fb125793..80e6ce5f4c 100644 --- a/.github/workflows/centreon-common.yml +++ b/.github/workflows/centreon-common.yml @@ -8,6 +8,7 @@ on: workflow_dispatch: pull_request: paths: + - ".version" - "packaging/centreon-common/**" - "selinux/centreon-common/**" push: @@ -17,6 +18,7 @@ on: - master - "[2-9][0-9].[0-9][0-9].x" paths: + - ".version" - "packaging/centreon-common/**" - "selinux/centreon-common/**" diff --git a/.github/workflows/docker-gorgone-testing.yml b/.github/workflows/docker-gorgone-testing.yml index 90b7b3da4d..c4af96f2f6 100644 --- a/.github/workflows/docker-gorgone-testing.yml +++ b/.github/workflows/docker-gorgone-testing.yml @@ -11,10 +11,12 @@ on: - develop - dev-[2-9][0-9].[0-9][0-9].x paths: + - ".version" - ".github/docker/Dockerfile.gorgone-testing-*" - ".github/workflows/docker-gorgone-testing.yml" pull_request: paths: + - ".version" - ".github/docker/Dockerfile.gorgone-testing-*" - ".github/workflows/docker-gorgone-testing.yml" diff --git a/.github/workflows/gorgone.yml b/.github/workflows/gorgone.yml index 1ea9a72565..5cdd3bb9ab 100644 --- a/.github/workflows/gorgone.yml +++ b/.github/workflows/gorgone.yml @@ -19,6 +19,7 @@ on: - reopened - ready_for_review paths: + - ".version" - ".version.centreon-gorgone" - ".github/workflows/gorgone.yml" - "gorgone/**" @@ -33,6 +34,7 @@ on: - master - "[2-9][0-9].[0-9][0-9].x" paths: + - ".version" - ".version.centreon-gorgone" - ".github/workflows/gorgone.yml" - "gorgone/**" diff --git a/.github/workflows/libzmq.yml b/.github/workflows/libzmq.yml index 0482a0744d..c463e53559 100644 --- a/.github/workflows/libzmq.yml +++ b/.github/workflows/libzmq.yml @@ -8,6 +8,7 @@ on: workflow_dispatch: pull_request: paths: + - ".version" - '.github/workflows/libzmq.yml' push: branches: @@ -16,6 +17,7 @@ on: - master - "[2-9][0-9].[0-9][0-9].x" paths: + - ".version" - '.github/workflows/libzmq.yml' jobs: diff --git a/.github/workflows/lua-curl.yml b/.github/workflows/lua-curl.yml index 1ce711cf26..8d18b3942f 100644 --- a/.github/workflows/lua-curl.yml +++ b/.github/workflows/lua-curl.yml @@ -8,6 +8,7 @@ on: workflow_dispatch: pull_request: paths: + - ".version" - lua-curl/** push: branches: @@ -16,6 +17,7 @@ on: - master - "[2-9][0-9].[0-9][0-9].x" paths: + - ".version" - lua-curl/** env: diff --git a/.github/workflows/windows-agent.yml b/.github/workflows/windows-agent.yml index 174e1bd1f4..0c9236f5b4 100644 --- a/.github/workflows/windows-agent.yml +++ b/.github/workflows/windows-agent.yml @@ -15,6 +15,7 @@ on: pull_request: paths: + - ".version" - agent/** - common/** - custom-triplets/** @@ -28,6 +29,7 @@ on: - master - "[2-9][0-9].[0-9][0-9].x" paths: + - ".version" - agent/** - common/** - custom-triplets/**