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.
Harden GitHub workflow permissions
Julius Marminge556c42452c5a
diff --git a/.github/workflows/pr-size.yml b/.github/workflows/pr-size.ymlindex 15c04d663..af557dff6 100644--- a/.github/workflows/pr-size.yml+++ b/.github/workflows/pr-size.yml@@ -124,6 +124,9 @@ jobs:group: pr-size-${{ github.event.pull_request.number }}cancel-in-progress: truesteps:+ # This pull_request_target job may fetch untrusted PR commits only as passive+ # git data. Do not add dependency installs, build/test scripts, or cache+ # actions here; use pull_request plus workflow_run for that pattern instead.- name: Checkout base repositoryuses: actions/checkout@v4with:diff --git a/.github/workflows/release.yml b/.github/workflows/release.ymlindex 367ce867d..d90479087 100644--- a/.github/workflows/release.yml+++ b/.github/workflows/release.yml@@ -23,8 +23,8 @@ on:type: stringpermissions:- contents: write- id-token: write+ contents: read+ id-token: nonejobs:check_changes:@@ -420,6 +420,9 @@ jobs:if: ${{ !failure() && !cancelled() && needs.preflight.result == 'success' && needs.build.result == 'success' }}runs-on: ubuntu-24.04 # blacksmith-8vcpu-ubuntu-2404timeout-minutes: 10+ permissions:+ contents: read+ id-token: writesteps:- name: Checkoutuses: actions/checkout@v6