fix(ci): fix changes detection (#4155)

This commit is contained in:
Kevin Duret 2023-01-18 12:07:22 +01:00 committed by GitHub
parent 3d67f0857c
commit 05158b5807
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -45,11 +45,11 @@ jobs:
list-files: shell list-files: shell
filters: | filters: |
common: common:
- added|deleted|modified: centreon-plugins/centreon/** - added|deleted|modified: src/centreon/**
packages: packages:
- added|modified: packaging/** - added|modified: packaging/**
plugins: plugins:
- added|modified: centreon-plugins/** - added|modified: src/**
- name: transform to directories - name: transform to directories
run: | run: |
@ -86,6 +86,7 @@ jobs:
shell: bash shell: bash
package: package:
if: ${{ needs.get-plugins.outputs.plugins != '' }}
needs: [get-environment, get-plugins] needs: [get-environment, get-plugins]
uses: ./.github/workflows/plugin-package.yml uses: ./.github/workflows/plugin-package.yml
with: with: