Skip to content

Commit 0e99f6e

Browse files
committed
chore: migrate to checkout v4 and use head instead of master
1 parent 00ed893 commit 0e99f6e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/pr.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,10 @@ jobs:
1212
runs-on: ubuntu-latest
1313
steps:
1414
- name: Checkout code
15-
uses: actions/checkout@v2
15+
uses: actions/checkout@v4
1616
with:
17-
fetch-depth: 0
17+
fetch-depth: 2
18+
- run: git checkout HEAD^
1819
- name: Setup Node.js
1920
uses: actions/setup-node@v2
2021
with:

0 commit comments

Comments
 (0)