Skip to content

Commit 95c0c78

Browse files
authored
workflows/premerge: Fix condition for macos job (#125237)
1 parent 6deee0d commit 95c0c78

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/premerge.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,8 +139,9 @@ jobs:
139139
group: ${{ github.workflow }}-macos-${{ github.event.pull_request.number || github.sha }}
140140
cancel-in-progress: true
141141
if: >-
142+
github.repository_owner == 'llvm' &&
142143
(startswith(github.ref_name, 'release/') ||
143-
startswith(github.base_ref, 'refs/heads/release/'))
144+
startswith(github.base_ref, 'release/'))
144145
steps:
145146
- name: Checkout LLVM
146147
uses: actions/checkout@v4

0 commit comments

Comments
 (0)