Skip to content

Commit 6b348da

Browse files
committed
Fix condition
1 parent 4664446 commit 6b348da

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/premerge.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,8 +136,10 @@ jobs:
136136
concurrency:
137137
group: ${{ github.workflow }}-macos-${{ github.event.pull_request.number || github.sha }}
138138
cancel-in-progress: true
139-
if: >-
140-
github.repository_owner == 'llvm'
139+
if: >-
140+
github.repository_owner == 'llvm' &&
141+
(startswith(github.ref_name, 'release/') ||
142+
startswith(github.base_ref, 'release/'))
141143
steps:
142144
- name: Checkout LLVM
143145
uses: actions/checkout@v4

0 commit comments

Comments
 (0)