Skip to content

Commit 901f967

Browse files
authored
chore: version bump exercise-toolkit to v0.6.0 (#1943)
1 parent 4a6d44e commit 901f967

File tree

5 files changed

+29
-26
lines changed

5 files changed

+29
-26
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
if: |
2020
!github.event.repository.is_template
2121
name: Start Exercise
22-
uses: skills/exercise-toolkit/.github/workflows/start-exercise.yml@v0.4.0
22+
uses: skills/exercise-toolkit/.github/workflows/start-exercise.yml@v0.6.0
2323
with:
2424
exercise-title: "Introduction to GitHub"
2525
intro-message: "If you are new to GitHub, you might find your fellow developers use ___**issues**___ to organize their work and collaborate. We will do the same! That's another lesson, but today, we will introduce you to the basics."
@@ -41,7 +41,7 @@ jobs:
4141
with:
4242
repository: skills/exercise-toolkit
4343
path: exercise-toolkit
44-
ref: v0.1.0
44+
ref: v0.6.0
4545

4646
- name: Create comment - add step content
4747
run: |

.github/workflows/1-create-a-branch.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ env:
2121
jobs:
2222
find_exercise:
2323
name: Find Exercise Issue
24-
uses: skills/exercise-toolkit/.github/workflows/find-exercise-issue.yml@v0.1.0
24+
uses: skills/exercise-toolkit/.github/workflows/find-exercise-issue.yml@v0.6.0
2525

2626
check_step_work:
2727
name: Check step work
@@ -37,7 +37,7 @@ jobs:
3737
with:
3838
repository: skills/exercise-toolkit
3939
path: exercise-toolkit
40-
ref: v0.1.0
40+
ref: v0.6.0
4141

4242

4343
- name: Update comment - checking work
@@ -81,7 +81,7 @@ jobs:
8181
with:
8282
repository: skills/exercise-toolkit
8383
path: exercise-toolkit
84-
ref: v0.1.0
84+
ref: v0.6.0
8585

8686
- name: Create comment - add step content
8787
run: |

.github/workflows/2-commit-a-file.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ env:
2121
jobs:
2222
find_exercise:
2323
name: Find Exercise Issue
24-
uses: skills/exercise-toolkit/.github/workflows/find-exercise-issue.yml@v0.1.0
24+
uses: skills/exercise-toolkit/.github/workflows/find-exercise-issue.yml@v0.6.0
2525

2626
check_step_work:
2727
name: Check step work
@@ -41,7 +41,7 @@ jobs:
4141
with:
4242
repository: skills/exercise-toolkit
4343
path: exercise-toolkit
44-
ref: v0.1.0
44+
ref: v0.6.0
4545

4646

4747
- name: Update comment - checking work
@@ -91,7 +91,7 @@ jobs:
9191
with:
9292
repository: skills/exercise-toolkit
9393
path: exercise-toolkit
94-
ref: v0.1.0
94+
ref: v0.6.0
9595

9696
- name: Create comment - add step content
9797
run: |

.github/workflows/3-open-a-pull-request.yml

Lines changed: 17 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ env:
2626
jobs:
2727
find_exercise:
2828
name: Find Exercise Issue
29-
uses: skills/exercise-toolkit/.github/workflows/find-exercise-issue.yml@v0.1.0
29+
uses: skills/exercise-toolkit/.github/workflows/find-exercise-issue.yml@v0.6.0
3030

3131
check_step_work:
3232
name: Check step work
@@ -47,7 +47,8 @@ jobs:
4747
with:
4848
repository: skills/exercise-toolkit
4949
path: exercise-toolkit
50-
ref: v0.1.0
50+
# Results table still uses old format. Needs refactored to update.
51+
ref: v0.3.0
5152

5253
- name: Update comment - congratulate first PR
5354
run: |
@@ -103,18 +104,19 @@ jobs:
103104
104105
- name: Build message - step results
105106
id: build-message-step-results
106-
uses: skills/action-text-variables@v1
107+
uses: skills/action-text-variables@v2
107108
with:
108109
template-file: exercise-toolkit/markdown-templates/step-feedback/step-results.md
109-
template-vars: '{
110-
"step_number": 3,
111-
"passed": ${{ steps.check-user-work.outputs.passed }},
112-
"results_table": ${{ steps.check-user-work.outputs.results }},
113-
"tips": [
114-
"Issues are for capturing a problem/idea and possible solutions.",
115-
"Pull requests are for active development and getting feedback."
116-
]
117-
}'
110+
template-vars: >
111+
{
112+
"step_number": 3,
113+
"passed": ${{ steps.check-user-work.outputs.passed }},
114+
"results_table": ${{ steps.check-user-work.outputs.results }},
115+
"tips": [
116+
"Issues are for capturing a problem/idea and possible solutions.",
117+
"Pull requests are for active development and getting feedback."
118+
]
119+
}
118120
119121
- name: Create comment - step results
120122
run: |
@@ -130,11 +132,11 @@ jobs:
130132

131133
- name: Build message - step finished
132134
id: build-message-step-finish
133-
uses: skills/action-text-variables@v1
135+
uses: skills/action-text-variables@v2
134136
with:
135137
template-file: exercise-toolkit/markdown-templates/step-feedback/step-finished-prepare-next-step.md
136138
template-vars: |
137-
next_step_number=4
139+
next_step_number: 4
138140
139141
- name: Update comment - step finished
140142
run: |
@@ -159,7 +161,7 @@ jobs:
159161
with:
160162
repository: skills/exercise-toolkit
161163
path: exercise-toolkit
162-
ref: v0.1.0
164+
ref: v0.6.0
163165

164166
- name: Create comment - add step content
165167
run: |

.github/workflows/4-merge-your-pull-request.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ env:
2222
jobs:
2323
find_exercise:
2424
name: Find Exercise Issue
25-
uses: skills/exercise-toolkit/.github/workflows/find-exercise-issue.yml@v0.1.0
25+
uses: skills/exercise-toolkit/.github/workflows/find-exercise-issue.yml@v0.6.0
2626

2727
check_step_work:
2828
name: Check step work
@@ -41,7 +41,7 @@ jobs:
4141
with:
4242
repository: skills/exercise-toolkit
4343
path: exercise-toolkit
44-
ref: v0.1.0
44+
ref: v0.6.0
4545

4646
- name: Nothing to check
4747
run: echo "The workflow was triggered, so it passes."
@@ -77,9 +77,10 @@ jobs:
7777
finish_exercise:
7878
name: Finish Exercise
7979
needs: [find_exercise, post_review_content]
80-
uses: skills/exercise-toolkit/.github/workflows/finish-exercise.yml@v0.4.0
80+
uses: skills/exercise-toolkit/.github/workflows/finish-exercise.yml@v0.6.0
8181
with:
8282
issue-url: ${{ needs.find_exercise.outputs.issue-url }}
83+
exercise-title: "Introduction to GitHub"
8384

8485

8586
disable_workflow:

0 commit comments

Comments
 (0)