Commit 53b4b8e
authored
ci: migrate GH_TOKEN_ADMIN to GitHub App token (#156)
## Summary
- Replace `GH_TOKEN_ADMIN` (long-lived PAT) with short-lived GitHub App
installation tokens via `actions/create-github-app-token@v3`.
- Each job that needed the token (`build_action`, `update-semver`) gets
its own token-generation step, since app tokens are revoked at job end.
- Uses the centrally-synced `GH_APP_CLIENT_ID` / `GH_APP_PRIVATE_KEY`
secrets managed by `splunk/addonfactory-sync-secrets`.
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 | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
51 | 58 | | |
52 | 59 | | |
53 | 60 | | |
| |||
90 | 97 | | |
91 | 98 | | |
92 | 99 | | |
93 | | - | |
| 100 | + | |
94 | 101 | | |
95 | 102 | | |
96 | 103 | | |
| |||
105 | 112 | | |
106 | 113 | | |
107 | 114 | | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
108 | 122 | | |
109 | 123 | | |
110 | | - | |
| 124 | + | |
111 | 125 | | |
112 | 126 | | |
113 | 127 | | |
| |||
0 commit comments