Skip to content

Commit a16656d

Browse files
committed
check out files first
1 parent daa417a commit a16656d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/checklist.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,11 @@ jobs:
55
add-checklist:
66
runs-on: ubuntu-latest
77
steps:
8+
- uses: actions/checkout@v2
89
- name: Get Comment Body
910
id: get-comment-body
1011
run: |
11-
body=$(cat .github/workflows/checklist.md)
12+
body=$(cat checklist.md)
1213
body="${body//'%'/'%25'}"
1314
body="${body//$'\n'/'%0A'}"
1415
body="${body//$'\r'/'%0D'}"
@@ -24,6 +25,7 @@ jobs:
2425
edit-mode: append
2526
enforce-checklist:
2627
runs-on: ubuntu-latest
28+
needs: add-checklist
2729
steps:
2830
- uses: adamzolyak/checklist-checker-action@master
2931
env:

0 commit comments

Comments
 (0)