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

(cherry picked from commit 95c0c784ac9a91a8e12331ad9574ac6ad75318b1)
This commit is contained in:
Tom Stellard 2025-01-31 13:45:08 -08:00 committed by llvmbot
parent 0e240b08c6
commit f2e1acdcda

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