Commit c1b83dc
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 <actions@github.com>1 parent e2e7bb7 commit c1b83dc
2 files changed
+11
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
| 10 | + | |
9 | 11 | | |
10 | 12 | | |
11 | 13 | | |
12 | 14 | | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
13 | 18 | | |
14 | 19 | | |
15 | 20 | | |
| |||
25 | 30 | | |
26 | 31 | | |
27 | 32 | | |
| 33 | + | |
| 34 | + | |
28 | 35 | | |
29 | 36 | | |
30 | 37 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
175 | 175 | | |
176 | 176 | | |
177 | 177 | | |
178 | | - | |
179 | | - | |
| 178 | + | |
| 179 | + | |
180 | 180 | | |
181 | 181 | | |
182 | 182 | | |
| |||
197 | 197 | | |
198 | 198 | | |
199 | 199 | | |
200 | | - | |
201 | | - | |
202 | | - | |
203 | | - | |
204 | | - | |
205 | | - | |
206 | | - | |
| 200 | + | |
207 | 201 | | |
208 | 202 | | |
209 | 203 | | |
| |||
0 commit comments