The best way to control Claude Code, Codex and more from any computer or phone
Mirrored from https://github.com/Camo67/t3code.git
Synced Nov 24, 17:45 UTC
fix(ci): isolate releases from shared API rate limits (#5394)
Theo Browne committed
Aug 5, 2026 at 05:36 UTC
9697b765e5c32232e96514e38b6ecfac351d5a8f
2 files changed
+10
-15
.github/workflows/release.yml
+6
-12
@@ -747,15 +747,9 @@ jobs:
747
if: ${{ !failure() && !cancelled() && needs.preflight.result == 'success' && needs.build.result == 'success' && needs.publish_cli.result == 'success' }}
748
runs-on: blacksmith-8vcpu-ubuntu-2404
749
timeout-minutes: 10
750
+ permissions:
751
+ contents: write
752
steps:
751
- - id: app_token
752
- name: Mint release app token
753
- uses: actions/create-github-app-token@v2
754
- with:
755
- app-id: ${{ secrets.RELEASE_APP_ID }}
756
- private-key: ${{ secrets.RELEASE_APP_PRIVATE_KEY }}
757
- owner: ${{ github.repository_owner }}
758
-
753
- name: Checkout
754
uses: actions/checkout@v6
755
with:
@@ -823,7 +817,7 @@ jobs:
817
818
- name: Publish release
819
if: needs.preflight.outputs.previous_tag != ''
826
- uses: softprops/action-gh-release@v2
820
+ uses: softprops/action-gh-release@v3
821
with:
822
tag_name: ${{ needs.preflight.outputs.tag }}
823
target_commitish: ${{ needs.preflight.outputs.ref }}
@@ -840,11 +834,11 @@ jobs:
834
release-assets/*.blockmap
835
release-assets/*.yml
836
fail_on_unmatched_files: true
843
- token: ${{ steps.app_token.outputs.token }}
837
+ token: ${{ github.token }}
838
839
- name: Publish first release
840
if: needs.preflight.outputs.previous_tag == ''
847
- uses: softprops/action-gh-release@v2
841
+ uses: softprops/action-gh-release@v3
842
with:
843
tag_name: ${{ needs.preflight.outputs.tag }}
844
target_commitish: ${{ needs.preflight.outputs.ref }}
@@ -860,7 +854,7 @@ jobs:
854
release-assets/*.blockmap
855
release-assets/*.yml
856
fail_on_unmatched_files: true
863
- token: ${{ steps.app_token.outputs.token }}
857
+ token: ${{ github.token }}
858
859
deploy_web:
860
name: Deploy hosted web app
docs/operations/release.md
+4
-3
@@ -34,14 +34,15 @@ This document covers the unified release workflow for stable and nightly desktop
34
35
## Required release credentials
36
37
-The release workflow requires these GitHub Actions secrets in addition to the platform and deployment
37
+Stable releases require these GitHub Actions secrets in addition to the platform and deployment
38
credentials documented below:
39
40
- `RELEASE_APP_ID`
41
- `RELEASE_APP_PRIVATE_KEY`
42
43
-The GitHub Release job uses them to mint the token that publishes release assets. Stable releases use
44
-them again in the finalize job, which can commit and push aligned package versions to `main`.
43
+The finalize job uses them to commit and push aligned package versions to `main` as the Release App.
44
+GitHub Release publication uses the repository-scoped workflow token so it has a rate-limit quota
45
+independent from the shared Release App installation.
46
47
## T3 Connect relay deployment
48