Skip to content

Commit 0531cef

Browse files
committed
Try making sure that the previous commit is accessible
1 parent 018de28 commit 0531cef

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
@@ -19,7 +19,7 @@ jobs:
1919
- name: Check if package.json was modified
2020
id: pub
2121
run: |
22-
git checkout main && git pull origin main
22+
git checkout ${{ github.event.before }} && ls && git checkout main
2323
echo "diff=$(git diff ${{ github.event.before }}:lib/package.json lib/package.json)" >> $GITHUB_OUTPUT
2424
2525
- name: Exit early if lib/package.json was modified

0 commit comments

Comments
 (0)