You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix GitHub Actions permissions for Maven release (#37)
* Fix GitHub Actions permissions for Maven release
- Add 'contents: write' permission to allow pushing commits
- Explicitly use GITHUB_TOKEN in checkout action
- Remove pinentry-mode config from maven-gpg-plugin (use env var instead)
- Fixes git push permission denied error during release:prepare
* Configure git to use HTTPS with token for authentication
- Add git config to rewrite SSH URLs to HTTPS with token
- Add fetch-depth: 0 for full history (needed for release plugin)
- Fixes SSH permission denied error during git push
* Simplify git authentication for maven-release-plugin
- Use persist-credentials: false in checkout
- Set remote URL with token in Configure Git step
- Remove complex URL rewriting
- Keep fetch-depth: 0 for release plugin to access full history
* Fix Maven SCM URLs and git credentials
- Change SCM URLs from SSH to HTTPS in pom.xml
- Configure git credential helper with GitHub token
- Maven-release-plugin uses SCM URLs, not git remote
* [maven-release-plugin] prepare release json-logger-3.0.1
* [maven-release-plugin] prepare for next development iteration
---------
Co-authored-by: GitHub Actions <[email protected]>
0 commit comments