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 when checking out main in release workflow (#1175)
Julius Marminge55560f5116c7
diff --git a/.github/workflows/release.yml b/.github/workflows/release.ymlindex 8331ba508..0a10648c8 100644--- a/.github/workflows/release.yml+++ b/.github/workflows/release.yml@@ -308,11 +308,31 @@ jobs:needs: [preflight, release]runs-on: ubuntu-24.04steps:+ - id: app_token+ name: Mint release app token+ uses: actions/create-github-app-token@v2+ with:+ app-id: ${{ vars.RELEASE_APP_ID }}+ private-key: ${{ secrets.RELEASE_APP_PRIVATE_KEY }}+ owner: ${{ github.repository_owner }}+- name: Checkoutuses: actions/checkout@v6with:ref: mainfetch-depth: 0+ token: ${{ steps.app_token.outputs.token }}+ persist-credentials: true++ - id: app_bot+ name: Resolve GitHub App bot identity+ env:+ GH_TOKEN: ${{ steps.app_token.outputs.token }}+ APP_SLUG: ${{ steps.app_token.outputs.app-slug }}+ run: |+ user_id="$(gh api "/users/${APP_SLUG}[bot]" --jq .id)"+ echo "name=${APP_SLUG}[bot]" >> "$GITHUB_OUTPUT"+ echo "email=${user_id}+${APP_SLUG}[bot]@users.noreply.github.com" >> "$GITHUB_OUTPUT"- name: Setup Bunuses: oven-sh/setup-bun@v2@@ -349,8 +369,8 @@ jobs:exit 0fi- git config user.name "github-actions[bot]"- git config user.email "41898282+github-actions[bot]@users.noreply.github.com"+ git config user.name "${{ steps.app_bot.outputs.name }}"+ git config user.email "${{ steps.app_bot.outputs.email }}"git add apps/server/package.json apps/desktop/package.json apps/web/package.json packages/contracts/package.json bun.lockgit commit -m "chore(release): prepare $RELEASE_TAG"