Skip to content

Commit 459a80c

Browse files
authored
ci: fix set-ci-condition job (#2934)
* chore(ci.yml): refactor CI workflow to include a new job 'set-ci-condition' to determine if CI should run based on conditions such as pull request labels and event type * refactor: include new job 'set-ci-condition' in CI workflow to determine if CI should run based on conditions
1 parent 950aac1 commit 459a80c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/ci.yml

+3
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@ jobs:
3232
runs-on: ubuntu-latest
3333
outputs:
3434
should-run-ci: ${{ (contains( github.event.pull_request.labels.*.name, 'lgtm') && github.event.pull_request.draft == false) || (github.event_name == 'workflow_dispatch' || github.event_name == 'workflow_call') }}
35+
steps:
36+
# Do anything just to make the job run
37+
- run: echo "Set CI Condition"
3538
path-filter:
3639
needs: set-ci-condition
3740
if: ${{ needs.set-ci-condition.outputs.should-run-ci }}

0 commit comments

Comments
 (0)