Skip to content

Commit 4ac12b0

Browse files
feat: add dynamic link to exercise in README template
1 parent 704cd20 commit 4ac12b0

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/start-exercise.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,7 @@ jobs:
117117
template-vars: |
118118
title=${{ inputs.exercise-title }}
119119
login=${{ github.actor }}
120+
link_to_exercise=${{ steps.create_exercise.outputs.ISSUE_URL }}
120121
121122
- name: Overwrite README
122123
env:

markdown-templates/readme/exercise-started.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ This is your personal copy of the **{{ title }}** exercise.
88

99
**Ready to get started?**
1010

11-
[![](https://img.shields.io/badge/Go%20to%20Exercise-%E2%86%92-brightgreen?style=for-the-badge&logo=github)](google.com)
11+
[![](https://img.shields.io/badge/Go%20to%20Exercise-%E2%86%92-brightgreen?style=for-the-badge&logo=github)](/{{ link_to_exercise }})
1212

1313
_You can come back to the exercise at any point in time if you decide to do it in parts!_
1414

0 commit comments

Comments
 (0)