Commit fcfa981
committed
ci: use GitHub App token for cross-repo dispatch instead of expiring PAT
Replace secrets.DISPATCH_WORKFLOWS_TOKEN (an expiring PAT) with a
short-lived GitHub App token minted at runtime via
actions/create-github-app-token, scoped to oauth-service and dashboard.
Reuses the GH_FRONTEGG_BOT_APP_ID / GH_FRONTEGG_BOT_APP_SECRET pattern
already used by the e2e trigger action in this repo. App tokens do not
expire, so this removes the recurring token-expiry breakage.1 parent 09d1ef6 commit fcfa981
1 file changed
Lines changed: 11 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
105 | 105 | | |
106 | 106 | | |
107 | 107 | | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
108 | 118 | | |
109 | 119 | | |
110 | 120 | | |
111 | 121 | | |
112 | 122 | | |
113 | | - | |
| 123 | + | |
114 | 124 | | |
115 | 125 | | |
116 | 126 | | |
| |||
0 commit comments