-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Migrate user-attachments images to local repository with relative paths #184
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Co-authored-by: FidelusAleksander <63016446+FidelusAleksander@users.noreply.github.com>
There was a problem hiding this 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 migrates GitHub user-attachments images to local repository storage to improve content portability and ensure images remain accessible independent of external hosting. The migration includes downloading images with descriptive filenames and updating all markdown references to use relative paths.
Changes:
- Downloaded 12 images from GitHub user-attachments to
.github/images/directory with descriptive kebab-case filenames - Updated 14 image references across 4 markdown files in
.github/steps/to use relative paths (../images/) - Updated
start-exerciseworkflow to v0.8.0 (first version supporting relative image paths) while intentionally preserving other exercise-toolkit references at v0.5.0
Reviewed changes
Copilot reviewed 5 out of 17 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
.github/workflows/0-start-exercise.yml |
Updated start-exercise workflow reference to v0.8.0 to support relative image paths |
.github/steps/1-first-codespace.md |
Migrated 4 image references to local relative paths |
.github/steps/2-custom-image.md |
Migrated 1 image reference to local relative path |
.github/steps/3-customize-codespace.md |
Migrated 7 image references to local relative paths |
.github/steps/4-use-codespace.md |
Migrated 2 image references to local relative paths |
.github/images/*.png (12 files) |
Added locally-hosted images with descriptive kebab-case filenames |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
@copilot Two tasks for you
Important: Only update the start-exercise version reference. Do not modify any other references to exercise-toolkit elsewhere in the repository.
This will ensure the current repository is checked out with the commit that was pushed by the previous start-exercise reusable workflow |
Co-authored-by: FidelusAleksander <63016446+FidelusAleksander@users.noreply.github.com>
... Both tasks completed in commit 40c7498:
All other exercise-toolkit references remain at v0.5.0 as required. |
Migrates GitHub user-attachments image URLs to local files in
.github/images/with relative links. This improves content portability and ensures images remain accessible independent of external hosting.Changes
Images: Downloaded 12 images with descriptive kebab-case filenames based on content (e.g.,
green-code-button.png,vs-code-explorer-tab.png,rebuild-codespace-command.png)Markdown updates: Changed 14 image references across 4 files in
.github/steps/from absolute user-attachments URLs to relative paths (../images/filename.png). Preserved all existing attributes (width, alt text)Workflow updates:
start-exerciseworkflow tov0.8.1in0-start-exercise.yml(supports relative image paths)ref: mainto the Checkout step inpost_next_step_contentjob to ensure repository is checked out at the main branch with the commit pushed by the previous start-exercise workflowExternal images (octodex, shields.io) remain as absolute URLs.
Original prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.