Skip to content

Open-source Grok Bot alternative for named AI teammates. Local-first desktop, web, and mobile clients with per-bot tools, instructions, and memory. Independent fork of T3 Code.

Use GitHub App token for release uploads (#2149)

Julius Marminge9df3c640210f
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 36ec0367d..25b4ac213 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -393,6 +393,14 @@ jobs:
runs-on: ubuntu-24.04 # blacksmith-8vcpu-ubuntu-2404
timeout-minutes: 10
steps:
+ - id: app_token
+ name: Mint release app token
+ uses: actions/create-github-app-token@v2
+ with:
+ app-id: ${{ secrets.RELEASE_APP_ID }}
+ private-key: ${{ secrets.RELEASE_APP_PRIVATE_KEY }}
+ owner: ${{ github.repository_owner }}
+
- name: Checkout
uses: actions/checkout@v6
with:
@@ -477,6 +485,7 @@ jobs:
release-assets/*.blockmap
release-assets/*.yml
fail_on_unmatched_files: true
+ token: ${{ steps.app_token.outputs.token }}
- name: Publish first release
if: needs.preflight.outputs.previous_tag == ''
@@ -496,6 +505,7 @@ jobs:
release-assets/*.blockmap
release-assets/*.yml
fail_on_unmatched_files: true
+ token: ${{ steps.app_token.outputs.token }}
finalize:
name: Finalize release