Repository navigation
chore: use pages-staging-scoped role for PR previews - #397
Merged
John McCall (lowlydba) merged 1 commit intoNov 4, 2026
Merged
Conversation
John McCall (lowlydba)
had a problem deploying
to
staging
November 4, 2026 15:03 — with
GitHub Actions
Error
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Signed-off-by: John McCall <john@overturemaps.org>
John McCall (lowlydba)
force-pushed
the
lowlydba-ci-pages-staging-scoped-role
branch
from
November 4, 2026 15:03
0cc78c5 to
299a4f8
Compare
John McCall (lowlydba)
had a problem deploying
to
staging
November 4, 2026 15:05 — with
GitHub Actions
Failure
John McCall (lowlydba)
marked this pull request as ready for review
November 4, 2026 15:05
Contributor
There was a problem hiding this comment.
🔵 Needs a closer look
The prerequisite IAM change in OvertureMaps/omf-core-data-opentofu#149 was inaccessible, leaving its application and scoped-role preview deployment and closed-PR cleanup unverified.
No open issues 🎉
What changed in this PR
Narrows AWS access for PR preview deployments and cleanup by switching both jobs to the staging-scoped role.
Changes:
- Uses
pages-staging-scoped-oidc-overturemapsfor preview deployment and cleanup. - Adds
environment: stagingto cleanup to satisfy the role’s trust requirements.
The referenced infrastructure change must be applied before merging so both jobs can assume the new role.
| File | Description |
|---|---|
.github/workflows/staging-deploy-cleanup.yml |
Uses the scoped role and adds the required staging environment. |
.github/workflows/deploy-staging.yml |
Switches preview deployment to the scoped role. |
Review effort: Balanced
Alex Iannicelli (atiannicelli)
approved these changes
Nov 4, 2026
John McCall (lowlydba)
had a problem deploying
to
staging
November 4, 2026 18:45 — with
GitHub Actions
Failure
🗺️ Overture Explorer preview is live!
Note ♻️ This preview updates automatically with each push to this PR. |
John McCall (lowlydba)
deleted the
lowlydba-ci-pages-staging-scoped-role
branch
November 4, 2026 18:48
John McCall (lowlydba)
temporarily deployed
to
staging
November 4, 2026 18:48 — with
GitHub Actions
Inactive
This branch was previously 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.
Resolves #396
PR previews currently assume the broad
pages-stagingrole. This moves the deploy and cleanup jobs topages-staging-scoped-oidc-overturemaps, which only trusts jobs running in thestagingenvironment. The deploy job already declares that environment, so the cleanup job gainsenvironment: staging.Pre-merge