Skip to content

Trim verbose org comments in container test workflows - #43

Merged
mmcky merged 1 commit into
mainfrom
chore/trim-container-test-comments
Jun 16, 2026
Merged

mmcky merged 1 commit into
mainfrom
chore/trim-container-test-comments

Conversation

@mmcky

@mmcky mmcky commented Jun 16, 2026

Copy link
Copy Markdown
Contributor

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_owner for the hardcoded quantecon org — GHCR image paths must be lowercase, and that expression preserves the org's casing.

Comment-only change in test-container.yml and test-containers-lectures.yml; no behavior change.

🤖 Generated with Claude Code

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]>
Copilot AI review requested due to automatic review settings June 16, 2026 03:10

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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 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_owner in the job-level container.image path.

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.

@mmcky
mmcky merged commit cc84ca4 into main Jun 16, 2026
1 check passed
@mmcky
mmcky deleted the chore/trim-container-test-comments branch June 16, 2026 03:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants