Skip to content

Harden release prepare authentication#53

Merged
JanJakes merged 1 commit into
trunkfrom
release-prepare-auth-fix
May 15, 2026
Merged

Harden release prepare authentication#53
JanJakes merged 1 commit into
trunkfrom
release-prepare-auth-fix

Conversation

@JanJakes
Copy link
Copy Markdown
Contributor

Summary

  • Validate a configured RELEASE_PREPARE_TOKEN before checkout so bad or pending tokens fail with a direct API-auth error.
  • Use the built-in GITHUB_TOKEN for the initial checkout instead of the custom release token.
  • Configure Git through gh auth setup-git so the selected release token is still used for release branch pushes and PR creation.

Testing

  • git diff --check
  • npm test
  • isolated gh auth setup-git + git ls-remote smoke test with the current gh token

Use the built-in GitHub token for the initial checkout, then configure Git to use the selected release prepare token for branch pushes and PR creation. This avoids failing checkout before the workflow can validate the configured token.
@JanJakes JanJakes merged commit c1c5ea5 into trunk May 15, 2026
3 checks passed
@JanJakes JanJakes deleted the release-prepare-auth-fix branch May 15, 2026 15:29
This was referenced May 15, 2026
JanJakes added a commit that referenced this pull request May 15, 2026
## Release `v0.1.14`

Version bump and release metadata update for `v0.1.14`.

**Changelog draft:**
* Add remote-site cache branching
([#40](#40))
* Bootstrap Starlight documentation site
([#42](#42))
* Add COW mergeback and audit model
* Polish branch merge UI and harden audit follow-ups
* Guard COW row merges against target trigger rewrites
* Rewrite README and restructure documentation
([#47](#47))
* Add Linux XFS loop storage fallback
([#41](#41))
* Harden merge reliability gates and semantic coverage
([#46](#46))
* Automate release preparation and publishing
([#50](#50))
* Harden release prepare authentication
([#53](#53))
* Fix release prepare status parsing
([#54](#54))
* Polish release pull request handling
([#56](#56))
* Clarify release workflow stages

**Full changelog:**
v0.1.13-windows-cow.3...release/v0.1.14

## Next steps

1. **Review** the changes in this pull request.
2. **Push** any additional edits to this branch (`release/v0.1.14`).
3. **Merge** this pull request to publish `v0.1.14`.

Merging will automatically build ForkPress binaries, create a GitHub
release, and update the Homebrew formula.

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
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