Skip to content

Commit 1600cf0

Browse files
boomanaiden154c-rhodes
authored andcommitted
[Github] Only look at previous commit for MacOS Premerge (#164483)
Otherwise we're looking for a commit that does not exist given the fetch depth. Fixes #164430. (cherry picked from commit 288ef04)
1 parent cd7d2db commit 1600cf0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/premerge.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ jobs:
149149
uses: llvm/actions/install-ninja@main
150150
- name: Build and Test
151151
run: |
152-
source <(git diff --name-only HEAD~2..HEAD | python3 .ci/compute_projects.py)
152+
source <(git diff --name-only HEAD~1...HEAD | python3 .ci/compute_projects.py)
153153
154154
if [[ "${projects_to_build}" == "" ]]; then
155155
echo "No projects to build"

0 commit comments

Comments
 (0)