ci: update path-filter job condition in ci.yml (#2817)

refactor: update path-filter job condition in ci.yml
This commit is contained in:
Gabriel Luiz Freitas Almeida 2024-07-18 21:17:35 -03:00
commit f701d86dde

View file

@ -27,7 +27,7 @@ concurrency:
jobs:
path-filter:
if: ${{ (contains( github.event.pull_request.labels.*.name, 'lgtm') && github.event.pull_request.draft == false) || github.event_name == 'workflow_dispatch' }}
if: ${{ (contains( github.event.pull_request.labels.*.name, 'lgtm') && github.event.pull_request.draft == false) || (github.event_name == 'workflow_dispatch' || github.event_name == 'workflow_call') }}
name: Filter Paths
runs-on: ubuntu-latest