Skip to content

Commit 11b1c35

Browse files
committed
Try making sure that the previous commit is accessible
1 parent 565443d commit 11b1c35

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
- name: Check if package.json was modified
2121
id: pub
2222
run: |
23-
git checkout main
23+
git checkout origin main
2424
echo "diff=$(git diff ${{ github.event.before }}:lib/package.json lib/package.json)" >> $GITHUB_OUTPUT
2525
2626
- name: Exit early if lib/package.json was modified

0 commit comments

Comments
 (0)