Skip to content

feat: replace relative links with raw.githubusercontent in start-exercise workflow #108

Merged
FidelusAleksander merged 7 commits intomainfrom
relative-links
Feb 5, 2026
Merged

feat: replace relative links with raw.githubusercontent in start-exercise workflow #108
FidelusAleksander merged 7 commits intomainfrom
relative-links

Conversation

@FidelusAleksander
Copy link
Contributor

@FidelusAleksander FidelusAleksander commented Feb 2, 2026

Changes

This pull request streamlines the workflow for starting an exercise by merging the previously separate "update_readme" job into the "create_exercise" job, ensuring that both issue creation and README updates happen in a single job. It also introduces a step to update image URLs in step files allowing to store images in repo instead of user attachments and still work fine for Skills issue flow

Workflow consolidation and improvements:

  • Merged the "update_readme" job into the "create_exercise" job, so that creating the exercise issue and updating the README now occur together, simplifying the workflow and reducing duplication. [1] [2]
  • Changed the job name to "Create exercise issue and update README" to reflect the consolidated responsibilities.

Documentation updates:

  • Added a new step to find and replace relative image URLs in .github/steps/*.md files with absolute URLs, ensuring images render correctly regardless of context.
  • Updated the commit step to include both README.md and all step markdown files, so changes to documentation are committed together.

Variable and output handling:

  • Fixed the variable reference for issue_url in the template-vars section to use the correct step output, ensuring the README contains the right link.

Checklist

  • I have added or updated appropriate labels to this PR
  • I have tested my changes
  • I have updated the documentation if needed

@github-actions github-actions bot added the workflows Changes to reusable workflows label Feb 2, 2026
@FidelusAleksander FidelusAleksander changed the base branch from start-exercise-updates to main February 2, 2026 11:40
@FidelusAleksander FidelusAleksander added the bump-minor Corresponds to minor SemVer release label Feb 4, 2026
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the “Start Exercise” reusable workflow to consolidate README updates into the issue-creation job, and to rewrite relative image links in step markdown so they render correctly outside the repository context (e.g., in Skills issue flows).

Changes:

  • Merged the previous update_readme job into create_exercise, so issue creation and README updates occur in a single job.
  • Added a find/replace step to convert ../images/ references in .github/steps/*.md to absolute raw.githubusercontent.com URLs.
  • Fixed the issue_url variable source to use the create-issue step output.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Copy link

@arilivigni arilivigni left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@FidelusAleksander FidelusAleksander changed the title feat: replace relative links feat: replace relative links with raw.githubusercontent in start-exercise workflow Feb 5, 2026
@FidelusAleksander FidelusAleksander merged commit 1cff7c5 into main Feb 5, 2026
6 checks passed
@FidelusAleksander FidelusAleksander deleted the relative-links branch February 5, 2026 10:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bump-minor Corresponds to minor SemVer release workflows Changes to reusable workflows

Development

Successfully merging this pull request may close these issues.

4 participants