Repository navigation
chore: use releaser-token action - #821
Merged
Merged
Conversation
Closes #820 Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Signed-off-by: John McCall <john@overturemaps.org>
🗺️ Schema reference docs preview is live!
Note ♻️ This preview updates automatically with each push to this PR. |
Contributor
There was a problem hiding this comment.
🔵 Needs a closer look
The pull-requester OIDC path remains unverified because the reader role’s external IAM configuration was inaccessible and neither migrated job has run to validate role assumption and secret access.
No open issues 🎉
What changed in this PR
Centralizes GitHub App token creation across four workflows using the shared releaser-token action, implementing the migration described in #820.
Changes:
- Replaces inline token setup and GitHub-stored PEM references with the pinned shared action.
- Adds required job permissions and enables AWS credential cleanup in the lockfile-refresh and rebase workflows.
- Groups minor and patch updates for
OvertureMaps/workflows*in Dependabot.
| File | Description |
|---|---|
.github/workflows/uv-lock-refresh.yml |
Uses OIDC-backed pull-requester tokens and clears AWS credentials afterward. |
.github/workflows/release-trigger.yaml |
Replaces inline AWS and token setup with the shared action’s defaults. |
.github/workflows/rebase-vnext.yaml |
Migrates pull-requester authentication while retaining explicit token permissions. |
.github/workflows/docs-publish.yml |
Uses the shared action with a docs-scoped, actions-write token. |
.github/dependabot.yml |
Groups shared-workflow action updates for minor and patch releases. |
Review effort: Balanced
Alex Iannicelli (atiannicelli)
approved these changes
Nov 11, 2026
Seth Fitzsimmons (sethfitz)
approved these changes
Nov 11, 2026
John McCall (lowlydba)
deleted the
lowlydba-use-releaser-token-action
branch
November 11, 2026 15:57
John McCall (lowlydba)
temporarily deployed
to
staging
November 11, 2026 15:57 — 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.

Description
Start with Why
Four workflows each hand-rolled the same AWS OIDC → Secrets Manager →
create-github-app-tokensequence, and two of them (uv-lock-refresh,rebase-vnext) still depended on a long-livedOVERTURE_PULL_REQUESTER_APP_PEMGitHub secret.What we gain
$GITHUB_ENVafter use.permission-*required) and scoped to the current repo by default.OvertureMaps/workflows*minor/patch group.Changes
Migrate
release-trigger,docs-publish,uv-lock-refreshandrebase-vnexttoOvertureMaps/workflows/.github/actions/releaser-token@9ddbb7e… # v1.0.0. Token scopes and app identities are unchanged. Jobs gainid-token: write/contents: readas the action requires;uv-lock-refreshandrebase-vnextalso setclear-aws-credentials: true.Reference
Testing
zizmor .github/workflows: no findings. YAML parses. Not run: actionlint (not installed); workflows themselves only run onmain/schedule.Checklist
N/A (CI-only change).
Manual follow-up (after first successful run on
main)Delete the superseded secret (repo, org and Dependabot scopes):
OVERTURE_PULL_REQUESTER_APP_PEM