Commit 2623b5f
authored
ci: migrate GH_TOKEN_ADMIN to GitHub App token (#47)
## Summary
- Replace `GH_TOKEN_ADMIN` (PAT) with short-lived installation tokens
via `actions/create-github-app-token@v3`.
- Add a token generation step to the `build_action` and `update-semver`
jobs (each job needs its own token since tokens are revoked at job end).
- Update `splunk/semantic-release-action@v1.3` and
`splunk/addonfactory-update-semver@v1` to consume
`steps.app-token.outputs.token` via `GITHUB_TOKEN`.
Made with [Cursor](https://cursor.com)1 file changed
Lines changed: 16 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
50 | 57 | | |
51 | 58 | | |
52 | 59 | | |
| |||
88 | 95 | | |
89 | 96 | | |
90 | 97 | | |
91 | | - | |
| 98 | + | |
92 | 99 | | |
93 | 100 | | |
94 | 101 | | |
| |||
101 | 108 | | |
102 | 109 | | |
103 | 110 | | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
104 | 118 | | |
105 | 119 | | |
106 | | - | |
| 120 | + | |
107 | 121 | | |
108 | 122 | | |
109 | 123 | | |
| |||
0 commit comments