Skip to content

Commit 8564702

Browse files
authored
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 b124c9f commit 8564702

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
@@ -122,7 +122,7 @@ jobs:
122122
needs:
123123
- should-run
124124
- build-test
125-
if: ${{ needs.should-run.outputs.go == 'true' && contains(fromJSON('["release", "master"]'), github.ref_name) }}
125+
if: ${{ needs.should-run.outputs.go == 'true' && (startsWith(github.base_ref, 'release') || github.base_ref == 'master') }}
126126
uses: ./.github/workflows/reusable-notify-clio.yml
127127
secrets:
128128
clio_notify_token: ${{ secrets.CLIO_NOTIFY_TOKEN }}

0 commit comments

Comments
 (0)