From 94232cf9d70b74eb7e9f2d54a934abc736b862a3 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 5fe81e19fb..579883815b 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 167dbeeb5c..99a8d66791 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 396ca16453..7db8cdd525 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 3857ed82ee..9272456e3b 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 2f0a5937a3..979b347e0e 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 ed05b63b05..04422290ee 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 2fcdbf04ff..b2947dcaf4 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/**