Skip to content

Commit d70af03

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

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

.github/workflows/repo-data.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,17 @@ jobs:
1616
with:
1717
deno-version: v1.x
1818
- name: Check out repo
19-
uses: actions/checkout@v2
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+
- uses: actions/checkout@v2
26+
if: github.event_name == 'push'
27+
with:
28+
fetch-depth: 0
29+
2030
- name: Fetch data
2131
uses: githubocto/flat@v3
2232
with:

0 commit comments

Comments
 (0)