release/21.x: [Github] Only look at previous commit for MacOS Premerge (#164483)#164497
Merged
c-rhodes merged 1 commit intollvm:release/21.xfrom Oct 27, 2025
Merged
release/21.x: [Github] Only look at previous commit for MacOS Premerge (#164483)#164497c-rhodes merged 1 commit intollvm:release/21.xfrom
c-rhodes merged 1 commit intollvm:release/21.xfrom
Conversation
Member
Author
|
@tstellar What do you think about merging this PR to the release branch? |
Member
Author
|
@llvm/pr-subscribers-github-workflow Author: None (llvmbot) ChangesBackport 288ef04 Requested by: @boomanaiden154 Full diff: https://github.com/llvm/llvm-project/pull/164497.diff 1 Files Affected:
diff --git a/.github/workflows/premerge.yaml b/.github/workflows/premerge.yaml
index d0518fa6879e2..8594e1e91ee99 100644
--- a/.github/workflows/premerge.yaml
+++ b/.github/workflows/premerge.yaml
@@ -149,7 +149,7 @@ jobs:
uses: llvm/actions/install-ninja@main
- name: Build and Test
run: |
- source <(git diff --name-only HEAD~2..HEAD | python3 .ci/compute_projects.py)
+ source <(git diff --name-only HEAD~1...HEAD | python3 .ci/compute_projects.py)
if [[ "${projects_to_build}" == "" ]]; then
echo "No projects to build"
|
tstellar
approved these changes
Oct 21, 2025
Otherwise we're looking for a commit that does not exist given the fetch depth. Fixes llvm#164430. (cherry picked from commit 288ef04)
|
@boomanaiden154 (or anyone else). If you would like to add a note about this fix in the release notes (completely optional). Please reply to this comment with a one or two sentence description of the fix. When you are done, please add the release:note label to this PR. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Backport 288ef04
Requested by: @boomanaiden154