Skip to content

Commit 59a3762

Browse files
author
Petra Gulicher
committed
git shenannigans
1 parent 0778a30 commit 59a3762

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

.github/workflows/repo-data.yml

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,19 @@ jobs:
1515
uses: denoland/setup-deno@main
1616
with:
1717
deno-version: v1.x
18-
- name: Check out repo
19-
uses: actions/checkout@v2
18+
- name: Check out repo (pull request)
19+
- uses: actions/checkout@v2
20+
if: github.event_name == 'pull_request'
21+
with:
22+
fetch-depth: 0
23+
ref: ${{ github.event.pull_request.head.ref }}
24+
25+
- name: Check out repo (push)
26+
- uses: actions/checkout@v2
27+
if: github.event_name == 'push'
28+
with:
29+
fetch-depth: 0
30+
2031
- name: Fetch data
2132
uses: githubocto/flat@v3
2233
with:

0 commit comments

Comments
 (0)