Skip to content
This repository was archived by the owner on Oct 19, 2026. It is now read-only.

Mint GitHub App token in versioning workflow - #25

Merged
MaxGhenis merged 1 commit into
mainfrom
migrate-to-app-token
Apr 17, 2026
Merged

MaxGhenis merged 1 commit into
mainfrom
migrate-to-app-token

Conversation

@MaxGhenis

Copy link
Copy Markdown
Contributor

Summary

  • Org PAT POLICYENGINE_GITHUB expired 2026-01-12; switch the versioning workflow to mint a GitHub App token via actions/create-github-app-token@v1 using APP_ID + APP_PRIVATE_KEY.
  • Pass the minted token to the actions/checkout@v4 step and the EndBug/add-and-commit@v9 step (with fetch: false) so the auto-commit back to main is authenticated.
  • Matches the migrations already merged in microdf (#296) and policyengine-core (#470).

Test plan

  • YAML parses (python3 -c "import yaml; yaml.safe_load(...)").
  • CI green on this PR.
  • After merge: next changelog-entry-bearing PR merging to main successfully triggers the Versioning workflow and opens an auto-commit "Update package version".

Co-Authored-By: Claude Opus 4.7 (1M context) noreply@anthropic.com

The org POLICYENGINE_GITHUB PAT expired 2026-01-12. Switch to
actions/create-github-app-token@v1 using APP_ID + APP_PRIVATE_KEY,
and pass the minted token to checkout and EndBug/add-and-commit.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@MaxGhenis
MaxGhenis merged commit 75fd47b into main Apr 17, 2026
2 of 4 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant