workflows/premerge: Fix condition for macos job (#125237)

This commit is contained in:
Tom Stellard 2025-01-31 13:45:08 -08:00 committed by GitHub
parent 6deee0d5b3
commit 95c0c784ac
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -139,8 +139,9 @@ jobs:
group: ${{ github.workflow }}-macos-${{ github.event.pull_request.number || github.sha }}
cancel-in-progress: true
if: >-
github.repository_owner == 'llvm' &&
(startswith(github.ref_name, 'release/') ||
startswith(github.base_ref, 'refs/heads/release/'))
startswith(github.base_ref, 'release/'))
steps:
- name: Checkout LLVM
uses: actions/checkout@v4