From dc749180709077dda8e8f2dd91ad5df8fe3e58fc Mon Sep 17 00:00:00 2001 From: EvanAdam Date: Wed, 20 Aug 2025 17:36:11 +0200 Subject: [PATCH] fix(sudoers): fix packaging to deliver the deb/rpm to artifactory --- .github/workflows/centreon-plugins-sudoers.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/centreon-plugins-sudoers.yml b/.github/workflows/centreon-plugins-sudoers.yml index 6e6925216..468ee6cb3 100644 --- a/.github/workflows/centreon-plugins-sudoers.yml +++ b/.github/workflows/centreon-plugins-sudoers.yml @@ -84,7 +84,11 @@ jobs: deliver-packages: needs: [get-environment, package] if: | - (contains(fromJson('["testing", "unstable"]'), needs.get-environment.outputs.stability) || ( needs.get-environment.outputs.stability == 'stable' && github.event_name != 'workflow_dispatch')) + needs.get-environment.outputs.skip_workflow == 'false' && + (contains(fromJson('["testing", "unstable"]'), needs.get-environment.outputs.stability) || ( needs.get-environment.outputs.stability == 'stable' && github.event_name != 'workflow_dispatch')) && + ! cancelled() && + ! contains(needs.*.result, 'failure') && + ! contains(needs.*.result, 'cancelled') runs-on: ubuntu-24.04 strategy: fail-fast: false