Skip to content

Fix versioning job: replace expired PAT with GitHub App token#3332

Merged
anth-volk merged 1 commit intomasterfrom
fix-versioning-auth
Mar 20, 2026
Merged

Fix versioning job: replace expired PAT with GitHub App token#3332
anth-volk merged 1 commit intomasterfrom
fix-versioning-auth

Conversation

@anth-volk
Copy link
Copy Markdown
Collaborator

Fixes #3331

Summary

  • Replace secrets.POLICYENGINE_GITHUB (expired PAT) with actions/create-github-app-token@v1 in the versioning job
  • Matches the pattern used in policyengine-us and policyengine-api-v2-alpha

Test plan

  • Merge this PR and confirm the versioning job succeeds (creates the "Update PolicyEngine API" commit)

🤖 Generated with Claude Code

The POLICYENGINE_GITHUB PAT is expired/revoked, causing the versioning
job to fail with "could not read Username" on checkout. Replace with
actions/create-github-app-token, matching the pattern used in
policyengine-us and policyengine-api-v2-alpha.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@anth-volk anth-volk marked this pull request as ready for review March 20, 2026 00:13
@anth-volk anth-volk merged commit b15ea91 into master Mar 20, 2026
5 checks passed
@codecov
Copy link
Copy Markdown

codecov Bot commented Mar 20, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 72.20%. Comparing base (55a193a) to head (3fa9631).
⚠️ Report is 3 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #3332   +/-   ##
=======================================
  Coverage   72.20%   72.20%           
=======================================
  Files          56       56           
  Lines        2425     2425           
  Branches      423      423           
=======================================
  Hits         1751     1751           
  Misses        595      595           
  Partials       79       79           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Versioning job fails: POLICYENGINE_GITHUB PAT is expired

1 participant