Commit 45ca310
authored
fix(ci): use GitHub App token for releases with bypass permissions (#340)
Add support for GitHub App authentication to bypass organization-level
tag creation rulesets. The workflow now:
1. Generates a GitHub App installation token using app credentials
2. Falls back to RELEASE_TOKEN (PAT) if app not configured
3. Falls back to GITHUB_TOKEN for backward compatibility
Priority: GitHub App > PAT > GITHUB_TOKEN
Setup:
- RELEASE_APP_ID: GitHub App ID (2514085)
- RELEASE_APP_PRIVATE_KEY: App private key (PEM format)
- App must be configured as bypass actor in org rulesets
This enables automated releases without manual tag creation.1 parent 33eca2d commit 45ca310
1 file changed
Lines changed: 15 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
71 | 81 | | |
72 | 82 | | |
73 | 83 | | |
74 | | - | |
75 | | - | |
| 84 | + | |
| 85 | + | |
76 | 86 | | |
77 | 87 | | |
78 | 88 | | |
79 | 89 | | |
80 | 90 | | |
81 | | - | |
82 | | - | |
| 91 | + | |
| 92 | + | |
83 | 93 | | |
84 | 94 | | |
85 | 95 | | |
86 | 96 | | |
87 | 97 | | |
88 | 98 | | |
89 | 99 | | |
90 | | - | |
| 100 | + | |
91 | 101 | | |
92 | 102 | | |
93 | 103 | | |
| |||
0 commit comments