ci: Update CI condition to allow workflow_dispatch trigger to bypass nightly check (#5362)

fix: update CI condition to allow workflow_dispatch to trigger CI
This commit is contained in:
Gabriel Luiz Freitas Almeida 2024-12-19 11:05:24 -03:00 committed by GitHub
commit e6bacbf98b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -80,7 +80,7 @@ jobs:
name: Should Run CI
runs-on: ubuntu-latest
outputs:
should-run-ci: ${{ (needs.check-nightly-status.outputs.should-proceed == 'true') && ((contains( github.event.pull_request.labels.*.name, 'lgtm') && github.event.pull_request.draft == false) || (github.event_name == 'workflow_dispatch' || github.event_name == 'workflow_call' || github.event_name == 'merge_group')) }}
should-run-ci: ${{ (needs.check-nightly-status.outputs.should-proceed == 'true' || github.event_name == 'workflow_dispatch') && ((contains( github.event.pull_request.labels.*.name, 'lgtm') && github.event.pull_request.draft == false) || (github.event_name == 'workflow_dispatch' || github.event_name == 'workflow_call' || github.event_name == 'merge_group')) }}
steps:
# Do anything just to make the job run
- run: echo "Debug CI Condition"