Commit 06c8e5e
committed
ci(release): authenticate semantic-release via Flanksource GitHub App
The Create Release workflow failed at job setup with "Repository access
blocked" and the default GITHUB_TOKEN cannot push release tags / create
releases under current org policy, so no semver tag was being cut on push
to master.
Mint a GitHub App installation token (actions/create-github-app-token) from
the Flanksource App credentials (FLANKSOURCE_APP_ID / FLANKSOURCE_APP_SECRET)
and use it for both the checkout and the semantic-release step.1 parent a599996 commit 06c8e5e
1 file changed
Lines changed: 13 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
27 | 37 | | |
| 38 | + | |
| 39 | + | |
28 | 40 | | |
29 | 41 | | |
30 | 42 | | |
31 | | - | |
| 43 | + | |
32 | 44 | | |
33 | 45 | | |
34 | 46 | | |
| |||
0 commit comments