Skip to content

Commit cbae023

Browse files
committed
updated exercise to do enable next step 1 early before commenting
1 parent 94ad823 commit cbae023

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

.github/workflows/0-start-exercise.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -80,15 +80,17 @@ jobs:
8080
env:
8181
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
8282

83-
- name: Create comment - watching for progress
83+
- name: Enable next step workflow
8484
run: |
85-
gh issue comment "$ISSUE_URL" \
86-
--body-file "exercise-toolkit/markdown-templates/step-feedback/watching-for-progress.md"
85+
gh workflow enable "Step 1"
8786
env:
8887
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
8988

90-
- name: Enable next step workflow
89+
- name: Create comment - watching for progress
9190
run: |
92-
gh workflow enable "Step 1"
91+
gh issue comment "$ISSUE_URL" \
92+
--body-file "exercise-toolkit/markdown-templates/step-feedback/watching-for-progress.md"
9393
env:
9494
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
95+
96+

0 commit comments

Comments
 (0)