Rename PANGOLIN_ACCESS_TOKEN_* to SITE_AUTH_TOKEN_* - #104
Conversation
…KEN_ID/SITE_AUTH_TOKEN The stored GitHub secret on staging is renamed (done live by the maintainer, same values), matching the hub task's own generic, auth-mechanism-agnostic interface, the same shape as the earlier SITE_BASE_URL rename. The deploy hook already bridges the hub's SITE_AUTH_TOKEN_ID/ SITE_AUTH_TOKEN into PANGOLIN_ACCESS_TOKEN_ID/PANGOLIN_ACCESS_TOKEN for check-live-urls.sh, so no hook change is needed. That script keeps its own Pangolin-specific naming, and the local secrets/*.env convention and example.env are unaffected.
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
Included review availability: Your plan provides up to 10 included reviews per hour; 0 remain after this review. 📝 WalkthroughWalkthroughThe deploy workflow now forwards ChangesSite authentication secret rename
Estimated code review effort: 2 (Simple) | ~5 minutes Merge Risk:⚪ Minimal · up to This change standardizes secret names and documentation without changing secret values or runtime behavior; no actionable merge-blocking risk remains beyond normal checks and review. 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
PR Summary by QodoRename deploy auth secrets to SITE_AUTH_TOKEN_ID/SITE_AUTH_TOKEN
AI Description
Diagram
High-Level Assessment
Files changed (3) |
Code Review by Qodo
1. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
environmentSecrets.staging still named PANGOLIN_ACCESS_TOKEN_ID/ PANGOLIN_ACCESS_TOKEN, and variables still named HUGO_BASEURL, neither updated when the live GitHub Environment values were renamed. Both are now SITE_AUTH_TOKEN_ID/SITE_AUTH_TOKEN and SITE_BASE_URL, matching what AUDIT.md's manual secrets check actually reads against.
Follow-up to #103. The stored GitHub secret on
stagingwas renamed live (same values, no secret read here) to match the hub task's own genericSITE_AUTH_TOKEN_ID/SITE_AUTH_TOKENinterface, the same shape as the earlierHUGO_BASEURL->SITE_BASE_URLrename..github/actions/deploy/action.ymlalready bridges the hub'sSITE_AUTH_TOKEN_ID/SITE_AUTH_TOKENintoPANGOLIN_ACCESS_TOKEN_ID/PANGOLIN_ACCESS_TOKENforcheck-live-urls.sh, so the hook itself needs no change. That script keeps its own Pangolin-specific naming, and the localsecrets/*.envconvention plusexample.envare unaffected.Verified
checks/check-env-docs.py(36 values, all described),scripts/docker_lint.py --linter actionlint --linter editorconfig-checker,scripts/prose_lint.py --diff origin/main, andscripts/repo_gate.py --check sha-pin --exclude 'themes/*/**'all pass clean.Summary by CodeRabbit
HUGO_BASEURLtoSITE_BASE_URL.