Conversation
The GitHub Actions Pages deploy that publish-gh-pages uses ignores a CNAME file, so the input never set the custom domain: Settings → Pages does, and it already holds python-advanced.quantecon.org. From QuantEcon/actions v0.12.0 the action warns on every deploy that still passes it (QuantEcon/actions#109, QuantEcon/actions#110). Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
✅ Deploy Preview for lustrous-melomakarona-3ee73e ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Contributor
There was a problem hiding this comment.
Copilot review overview
🟢 Approval recommended
The change is a straightforward workflow input removal with a clarifying comment and does not alter the deployment behavior.
Review effort: Lite
Findings: None
What changed in this PR
Removes the unused cname input from the publish-gh-pages GitHub Actions workflow configuration, aligning the workflow with how GitHub Pages custom domains are actually configured (via repository Settings → Pages) and avoiding upcoming warnings from newer quantecon/actions releases.
Changes:
- Dropped the
cname: python-advanced.quantecon.orginput from thepublish-gh-pagesaction invocation. - Added an inline workflow comment documenting where the custom domain is configured and why the action input is ineffective.
| File | Description |
|---|---|
| .github/workflows/publish.yml | Removes the unused cname action input and documents the Pages custom domain configuration location. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Contributor
4 tasks
This branch was successfully deployed
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.
publish-gh-pagesdeploys through GitHub Actions Pages, which ignores aCNAMEfile, so thecname:input has never set the custom domain. Settings → Pages does, and it holdspython-advanced.quantecon.org(checked withgh api repos/QuantEcon/lecture-python-advanced.myst/pages:cname: python-advanced.quantecon.org,build_type: workflow,https_enforced: true). From QuantEcon/actions v0.12.0 the action warns on every deploy that still passes the input. This removes it and leaves a comment saying where the domain lives.No effect on the published site. The only other thing the input did was write a
CNAMEfile into the build directory, so the release HTML archive stops carrying one; nothing reads it when serving.This workflow runs on a
publish*tag, so this PR's CI does not exercise it. The check is the next real publish after merge: once Dependabot moves this repo from@v0.11.1to v0.12.0, publish runs would otherwise start showing thecnamewarning; with this change they won't, and the site should still serve onpython-advanced.quantecon.org.Follow-up from QuantEcon/actions#110.
Assisted-by: Claude Code (Claude Opus 5.5)
🤖 Generated with Claude Code