From f6bdf79491acb7fe1caa565e2618b6fef85193a5 Mon Sep 17 00:00:00 2001 From: nicolasestrem <103498114+nicolasestrem@users.noreply.github.com> Date: Mon, 19 Oct 2026 22:19:40 +0200 Subject: [PATCH] chore(ci): remove the opencode workflow The opencode job invoked anomalyco/opencode/github, whose composite action queries releases/latest and pipes https://opencode.ai/install | bash at run time, in a workflow holding OPENCODE_API_KEY, GITHUB_TOKEN and contents:write. Pinning the uses: ref froze the wrapper, not the install script, so the supply-chain exposure could not be removed by pinning. Delete it instead of carrying an unpinnable third-party installer. --- .github/workflows/opencode.yml | 41 ---------------------------------- 1 file changed, 41 deletions(-) delete mode 100644 .github/workflows/opencode.yml diff --git a/.github/workflows/opencode.yml b/.github/workflows/opencode.yml deleted file mode 100644 index 68b8396..0000000 --- a/.github/workflows/opencode.yml +++ /dev/null @@ -1,41 +0,0 @@ -name: opencode - -on: - issue_comment: - types: [created] - pull_request_review_comment: - types: [created] - -permissions: - id-token: write - contents: write - pull-requests: write - issues: write - -jobs: - opencode: - if: | - contains(github.event.comment.body, ' /oc') || - startsWith(github.event.comment.body, '/oc') || - contains(github.event.comment.body, ' /opencode') || - startsWith(github.event.comment.body, '/opencode') - runs-on: ubuntu-latest - permissions: - id-token: write - contents: write - pull-requests: write - issues: write - steps: - - name: Checkout repository - uses: actions/checkout@v6 - with: - persist-credentials: false - - - name: Run opencode - uses: anomalyco/opencode/github@77fc88c8ade8e5a620ebbe1197f3a572d29ae91a # latest @ 2026-10-19 - env: - OPENCODE_API_KEY: ${{ secrets.OPENCODE_API_KEY }} - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - with: - model: opencode/mimo-v2.5-free - use_github_token: true