Skip to content

Commit 33557bf

Browse files
checking out branch to fix detached state
1 parent b6ce656 commit 33557bf

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/draft-pdf.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@ jobs:
1414
steps:
1515
- name: Checkout
1616
uses: actions/checkout@v4
17+
with:
18+
fetch-depth: 2
19+
- run:
20+
git checkout HEAD^
1721
- name: Build draft PDF
1822
uses: openjournals/openjournals-draft-action@master
1923
with:

0 commit comments

Comments
 (0)