Repository navigation
Trim verbose org comments in container test workflows - #43
Merged
Merged
Conversation
Follow-up to #42: the M13 note explained fork behaviour at length. Forks aren't a concern, so reduce it to a one-line guard that keeps the useful bit — don't substitute github.repository_owner for the hardcoded org (GHCR paths must be lowercase). Co-Authored-By: Claude Opus 4.8 <[email protected]>
Contributor
There was a problem hiding this comment.
Pull request overview
This PR trims the header comments in the two container test workflows, keeping only the key constraint: the GHCR org is intentionally hardcoded to quantecon because Docker/GHCR image references must be lowercase and github.repository_owner preserves casing. No workflow behavior changes are introduced.
Changes:
- Replace the longer “fork/org scope” headers with a concise, single guard comment in each workflow.
- Keep the rationale for not using
github.repository_ownerin the job-levelcontainer.imagepath.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| .github/workflows/test-containers-lectures.yml | Shortens the header comment while preserving the hardcoded GHCR org rationale. |
| .github/workflows/test-container.yml | Shortens the header comment while preserving the hardcoded GHCR org rationale. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Follow-up to #42 / #37.
The M13 note I added explained fork behavior at length. Forks aren't a concern for these QuantEcon-specific workflows, so this reduces each header comment to a single-line guard that keeps the one genuinely useful bit: don't substitute
github.repository_ownerfor the hardcodedquanteconorg — GHCR image paths must be lowercase, and that expression preserves the org's casing.Comment-only change in
test-container.ymlandtest-containers-lectures.yml; no behavior change.🤖 Generated with Claude Code