1616jobs :
1717 start_exercise :
1818 name : Start Exercise
19- uses : skills/exercise-toolkit/.github/workflows/start-exercise.yml@v0.5 .0
19+ uses : skills/exercise-toolkit/.github/workflows/start-exercise.yml@v0.6 .0
2020 with :
2121 exercise-title : " Hello GitHub Actions"
2222 intro-message : " Create and run a GitHub Actions workflow."
@@ -27,15 +27,18 @@ jobs:
2727 needs : [start_exercise]
2828 env :
2929 ISSUE_URL : ${{ needs.start_exercise.outputs.issue-url }}
30+
3031 steps :
3132 - name : Checkout
3233 uses : actions/checkout@v4
34+
3335 - name : Get response templates
3436 uses : actions/checkout@v4
3537 with :
3638 repository : skills/exercise-toolkit
3739 path : exercise-toolkit
38- ref : v0.5.0
40+ ref : v0.6.0
41+
3942 - name : Build comment - add step content
4043 id : build-comment
4144 uses : skills/action-text-variables@v2
@@ -44,19 +47,22 @@ jobs:
4447 template-vars : |
4548 login: ${{ github.actor }}
4649 full_repo_name: ${{ github.repository }}
50+
4751 - name : Create comment - add step content
4852 run : |
4953 gh issue comment "$ISSUE_URL" \
5054 --body "$ISSUE_BODY"
5155 env :
5256 GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
5357 ISSUE_BODY : ${{ steps.build-comment.outputs.updated-text }}
58+
5459 - name : Create comment - watching for progress
5560 run : |
5661 gh issue comment "$ISSUE_URL" \
5762 --body-file "exercise-toolkit/markdown-templates/step-feedback/watching-for-progress.md"
5863 env :
5964 GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
65+
6066 - name : Enable next step workflow
6167 run : |
6268 gh workflow enable "Step 1"
0 commit comments