Skip to content

Commit 2eb1e5c

Browse files
boomanaiden154aokblast
authored andcommitted
[Github] Only look at previous commit for MacOS Premerge (llvm#164483)
Otherwise we're looking for a commit that does not exist given the fetch depth. Fixes llvm#164430.
1 parent 9c221ae commit 2eb1e5c

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
@@ -193,7 +193,7 @@ jobs:
193193
uses: llvm/actions/install-ninja@main
194194
- name: Build and Test
195195
run: |
196-
source <(git diff --name-only HEAD~2..HEAD | python3 .ci/compute_projects.py)
196+
source <(git diff --name-only HEAD~1...HEAD | python3 .ci/compute_projects.py)
197197
198198
if [[ "${projects_to_build}" == "" ]]; then
199199
echo "No projects to build"

0 commit comments

Comments
 (0)