Skip to content

Commit da4c8c9

Browse files
authored
ci: Only run build-test/notify-clio if should-run indicates to (#5777)
- Fixes an issue introduced by #5762 which removed the transitive `should-run` check from these two jobs.
1 parent bcde279 commit da4c8c9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/on-pr.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@ jobs:
103103

104104
build-test:
105105
needs: should-run
106+
if: needs.should-run.outputs.go == 'true'
106107
uses: ./.github/workflows/build-test.yml
107108
strategy:
108109
matrix:
@@ -116,6 +117,7 @@ jobs:
116117
needs:
117118
- should-run
118119
- build-test
120+
if: needs.should-run.outputs.go == 'true'
119121
uses: ./.github/workflows/notify-clio.yml
120122
secrets:
121123
clio_notify_token: ${{ secrets.CLIO_NOTIFY_TOKEN }}

0 commit comments

Comments
 (0)