Skip to content

Commit 2237644

Browse files
bthomeevvysokikh1
authored andcommitted
ci: Trigger clio pipeline on PRs targeting release branches (#6080)
This change triggers the Clio pipeline on PRs that target any of the `release*` branches (in addition to the `master` branch), as opposed to only the `release` branch.
1 parent 587d4ac commit 2237644

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/on-pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ jobs:
115115
needs:
116116
- should-run
117117
- build-test
118-
if: ${{ needs.should-run.outputs.go == 'true' && contains(fromJSON('["release", "master"]'), github.ref_name) }}
118+
if: ${{ needs.should-run.outputs.go == 'true' && (startsWith(github.base_ref, 'release') || github.base_ref == 'master') }}
119119
uses: ./.github/workflows/reusable-notify-clio.yml
120120
secrets:
121121
clio_notify_token: ${{ secrets.CLIO_NOTIFY_TOKEN }}

0 commit comments

Comments
 (0)