Skip to content

fix(ci): authenticate release pushes explicitly - #130

Merged
hadrien merged 1 commit into
mainfrom
fix/release-pat-push
Aug 2, 2026
Merged

fix(ci): authenticate release pushes explicitly#130
hadrien merged 1 commit into
mainfrom
fix/release-pat-push

Conversation

@hadrien

@hadrien hadrien commented Aug 2, 2026

Copy link
Copy Markdown
Owner

Problem\n\n- The stored release PAT cannot authenticate through checkout’s raw-token input.\n- Release preparation stops before the protected-main promotion begins.\n\n# Solution\n\n- Use the standard GitHub token for checkout.\n- Remove persisted checkout credentials before release pushes.\n- Match Python Semantic Release’s proven actor-token HTTPS authentication.\n- Apply the PAT only to explicit release pushes.\n- Preserve tested-SHA promotion and the protected-main ruleset.\n\nfs-3z4

@hadrien
hadrien merged commit 97f6381 into main Aug 2, 2026
5 checks passed
@hadrien
hadrien deleted the fix/release-pat-push branch August 2, 2026 13:57
@codecov

codecov Bot commented Aug 2, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 97.74%. Comparing base (96766c7) to head (ec8d0d6).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #130   +/-   ##
=======================================
  Coverage   97.74%   97.74%           
=======================================
  Files           1        1           
  Lines         133      133           
  Branches        7        7           
=======================================
  Hits          130      130           
  Misses          3        3           
Flag Coverage Δ
fastapi-post121 97.74% <ø> (ø)
fastapi-pre121 97.74% <ø> (ø)
sqlmodel 97.74% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

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

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.

1 participant