Skip to content

Commit fd2a473

Browse files
CopilotFidelusAleksanderchriswblakeCopilot
authored
Migrate user-attachments images to local repository with relative paths (#64)
* Initial plan * Migrate user-attachments images to local repository and update start-exercise to v0.8.0 Co-authored-by: FidelusAleksander <63016446+FidelusAleksander@users.noreply.github.com> * fix: alt image description Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Update start-exercise to v0.8.1 and checkout main branch explicitly Co-authored-by: FidelusAleksander <63016446+FidelusAleksander@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: FidelusAleksander <63016446+FidelusAleksander@users.noreply.github.com> Co-authored-by: Christopher W. Blake <chriswblake@gmail.com> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 6d7b5d8 commit fd2a473

5 files changed

Lines changed: 5 additions & 3 deletions

File tree

.github/images/dadjoke-mona.png

2.34 MB
Loading
15.5 KB
Loading

.github/steps/1-step.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Maybe that’s because your task is a bit _too_ unique 😆
66

77
**GENERATING DAD JOKES**! 🎭
88

9-
<img width="600" alt="dadjoke-mona" src="https://github.com/user-attachments/assets/46b6b931-8d1f-4a01-88f4-4568704039a0" />
9+
<img width="600" alt="dadjoke-mona" src="../images/dadjoke-mona.png" />
1010

1111
Since no pre-built action exists for your quirky automation needs, it's time to roll up your sleeves and create your own!
1212

.github/steps/6-step.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ The only thing left to do is test it out!
1010

1111
1. Monitor the **Actions** tab for the `Joke Action` workflow to complete:
1212

13-
<img width="400" alt="SCR-20251113-kntg" src="https://github.com/user-attachments/assets/992da295-0123-4688-a068-d289967f2455" />
13+
<img width="400" alt="Screenshot of the Joke Action workflow run showing a successful completion" src="../images/joke-action-workflow-run.png" />
1414

1515

1616
1. Return to the issue and you should see a new comment posted by `github-actions[bot]` containing a random dad joke!

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

Lines changed: 3 additions & 1 deletion
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.7.3
22+
uses: skills/exercise-toolkit/.github/workflows/start-exercise.yml@v0.8.1
2323
with:
2424
exercise-title: "Write JavaScript Actions"
2525
intro-message: "Learn to create and use custom JavaScript actions in your GitHub workflows"
@@ -35,6 +35,8 @@ jobs:
3535
steps:
3636
- name: Checkout
3737
uses: actions/checkout@v5
38+
with:
39+
ref: main
3840

3941
- name: Get response templates
4042
uses: actions/checkout@v5

0 commit comments

Comments
 (0)