From 05158b580747a31f1b4772cf1247ad275880c3e1 Mon Sep 17 00:00:00 2001 From: Kevin Duret Date: Wed, 18 Jan 2023 12:07:22 +0100 Subject: [PATCH] fix(ci): fix changes detection (#4155) --- .github/workflows/plugins.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/plugins.yml b/.github/workflows/plugins.yml index 70979eb08..5f0f260fd 100644 --- a/.github/workflows/plugins.yml +++ b/.github/workflows/plugins.yml @@ -45,11 +45,11 @@ jobs: list-files: shell filters: | common: - - added|deleted|modified: centreon-plugins/centreon/** + - added|deleted|modified: src/centreon/** packages: - added|modified: packaging/** plugins: - - added|modified: centreon-plugins/** + - added|modified: src/** - name: transform to directories run: | @@ -86,6 +86,7 @@ jobs: shell: bash package: + if: ${{ needs.get-plugins.outputs.plugins != '' }} needs: [get-environment, get-plugins] uses: ./.github/workflows/plugin-package.yml with: