Skip to content

docs: QUICK-REFERENCE "Pages 404?" snippet recommends the wrong permissions #99

Closed as duplicate

Description

@mmcky

From the v0.8.0 validation study; context QuantEcon/lectures#11.

docs/QUICK-REFERENCE.md:312-317 ("Pages 404?") recommends permissions: contents: write — wrong for native Pages deployment, and worse: a permissions: block zeroes every unlisted scope, so pasting it into a working publish workflow drops pages and id-token, breaking the configure-pages → upload-pages-artifact → deploy-pages chain at publish-gh-pages/action.yml:68-78. Same doc is right at :90-93 and :241-245.

Same pass: docs/MIGRATION-GUIDE.md:244 and docs/ARCHITECTURE.md:68 give the build-jupyter-cache key as build-{env-hash}-{run-id}, dropping the update-hash segment of build-jupyter-cache/action.yml:95; docs/QUICK-REFERENCE.md:181 is correct, and neither stale line is on another open issue. :244 sits under "Step 5: Update cache.yml" → "After (Recommended: Using build-jupyter-cache Action)", so don't "correct" it to a conda-… key. The separate setup-environment drift — docs/QUICK-REFERENCE.md:180 and setup-environment/README.md:132 give conda-{os}-{hash(env.yml)}-{version}, missing the {env-name}/py{ver} of setup-environment/action.yml:134 — is on #109, out of scope.

#109's checklist already carries "Fix #99 while in QUICK-REFERENCE.md" and #110 row 7 routes it there, so no separate PR; the cache-key lines are on no other checklist, so carry them in the same PR and close this as a duplicate of #109. Line edit only: PLAN item 10 (PLAN.md:80) proposes shrinking QUICK-REFERENCE.md to a one-screen link table, removing the troubleshooting block.

Activity

  1. added
    documentation
    on Jul 8, 2026
  2. quantecon-services commented on Sep 24, 2026

    @quantecon-services
    Collaborator

    Both items were fixed in v0.12.0 by #175, the docs PR for #109. The "Pages 404?" snippet now grants contents: read, pages: write and id-token: write, with a note to raise contents to write only when create-release-assets is on. The two build-jupyter-cache key lines now include the {update-hash} segment. Closing as a duplicate of #109, as proposed above.


    Generated by Claude Code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentation

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions