We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 744366d commit 565443dCopy full SHA for 565443d
.github/workflows/docs.yml
@@ -15,11 +15,12 @@ jobs:
15
- uses: actions/checkout@v4
16
with:
17
token: ${{ secrets.GITHUB_TOKEN }}
18
+ ref: ${{ github.event.before }}
19
20
- name: Check if package.json was modified
21
id: pub
22
run: |
- git checkout ${{ github.event.before }} && ls && git checkout main
23
+ git checkout main
24
echo "diff=$(git diff ${{ github.event.before }}:lib/package.json lib/package.json)" >> $GITHUB_OUTPUT
25
26
- name: Exit early if lib/package.json was modified
0 commit comments