Skip to content

workflows/premerge: Fix condition for macos job #125237

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 31, 2025

Conversation

tstellar
Copy link
Collaborator

No description provided.

@llvmbot
Copy link
Member

llvmbot commented Jan 31, 2025

@llvm/pr-subscribers-github-workflow

Author: Tom Stellard (tstellar)

Changes

Full diff: https://github.com/llvm/llvm-project/pull/125237.diff

1 Files Affected:

  • (modified) .github/workflows/premerge.yaml (+2-1)
diff --git a/.github/workflows/premerge.yaml b/.github/workflows/premerge.yaml
index d7fa6718821861..91aa3eefde372c 100644
--- a/.github/workflows/premerge.yaml
+++ b/.github/workflows/premerge.yaml
@@ -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

@tstellar tstellar added this to the LLVM 20.X Release milestone Jan 31, 2025
@tstellar tstellar merged commit 95c0c78 into llvm:main Jan 31, 2025
11 checks passed
@tstellar
Copy link
Collaborator Author

/cherry-pick 95c0c78

@llvmbot
Copy link
Member

llvmbot commented Jan 31, 2025

/pull-request #125305

tstellar added a commit to tstellar/llvm-project that referenced this pull request Jan 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

Successfully merging this pull request may close these issues.

3 participants