Repository navigation
chore: use pages-staging-scoped role for PR previews - #605
Conversation
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Signed-off-by: John McCall <john@overturemaps.org>
e2d121d to
a68b96b
Compare
✅MegaLinter analysis: Success
See detailed reports in MegaLinter artifacts Your project could benefit from a custom flavor, which would allow you to run only the linters you need, and thus improve runtime performances. (Skip this info by defining
|
There was a problem hiding this comment.
🔵 Needs a closer look
The blocking trust-policy update in OvertureMaps/omf-core-data-opentofu#149 was inaccessible for verification, and preview deployment and closed-PR cleanup still require validation with the scoped role.
No open issues 🎉
What changed in this PR
Updates documentation PR previews to use the repository-scoped AWS OIDC role, addressing #604 and restricting access to the repository’s preview prefix.
Changes:
- Switches deploy and cleanup workflows to
pages-staging-scoped-oidc-overturemaps. - Adds
environment: stagingto cleanup to satisfy the scoped role’s trust requirements.
The rollout remains blocked until OvertureMaps/omf-core-data-opentofu#149 is applied.
| File | Description |
|---|---|
.github/workflows/staging_deploy.yaml |
Uses the scoped role for preview deployment. |
.github/workflows/staging_deploy_cleanup.yaml |
Uses the scoped role and staging environment for preview cleanup. |
Review effort: Balanced

Resolves #604
Switches PR previews to the
pages-staging-scoped-oidc-overturemapsrole and addsenvironment: stagingto the cleanup job (deploy already has it).Blocked: do not mark ready until OvertureMaps/omf-core-data-opentofu#149 is applied.