From b6a186b1db36565941d53354dd4d54b9a9f55179 Mon Sep 17 00:00:00 2001 From: ErikBPF <26701869+ErikBPF@users.noreply.github.com> Date: Fri, 17 Jul 2026 11:02:38 +0000 Subject: [PATCH 1/2] chore: bump opencode to 1.18.3 --- packages/opencode/package.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/opencode/package.nix b/packages/opencode/package.nix index 680717f..54a51f1 100644 --- a/packages/opencode/package.nix +++ b/packages/opencode/package.nix @@ -21,7 +21,7 @@ }: stdenvNoCC.mkDerivation (finalAttrs: { pname = "opencode"; - version = "1.17.13"; + version = "1.18.3"; __structuredAttrs = true; strictDeps = true; @@ -30,7 +30,7 @@ stdenvNoCC.mkDerivation (finalAttrs: { owner = "anomalyco"; repo = "opencode"; tag = "v${finalAttrs.version}"; - hash = "sha256-WE8+O+Od8M71fKoOOhE9CbTsJ0JMAi0ZajmYd//VG2k="; + hash = "sha256-Wdkzms59oHw3M/Em2RH7BPhZME8AtLmtNFSnsUxO1V4="; }; node_modules = stdenvNoCC.mkDerivation { @@ -85,7 +85,7 @@ stdenvNoCC.mkDerivation (finalAttrs: { # NOTE: Required else we get errors that our fixed-output derivation references store paths dontFixup = true; - outputHash = "sha256-SUNfdHtASPh1mpxKvIKJ2GrDHAxmv7Gu7B7vr3PX5W4="; + outputHash = "sha256-1NUtprMH8GnSUqQ+mHQSC+JLU7lwzHe6XXYHe129WmE="; outputHashAlgo = "sha256"; outputHashMode = "recursive"; }; From 6db74a625c5517b7d884be6b90e6da86fdb4bb1b Mon Sep 17 00:00:00 2001 From: Erik Bogado Date: Fri, 17 Jul 2026 11:58:16 -0300 Subject: [PATCH 2/2] fix(updater): dispatch required PR checks --- .github/workflows/update-opencode.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/update-opencode.yml b/.github/workflows/update-opencode.yml index 6c3bd6d..e2c2af6 100644 --- a/.github/workflows/update-opencode.yml +++ b/.github/workflows/update-opencode.yml @@ -10,6 +10,7 @@ concurrency: cancel-in-progress: false permissions: + actions: write contents: write pull-requests: write @@ -87,6 +88,17 @@ jobs: dependencies automated + # PRs created with GITHUB_TOKEN do not emit a pull_request event. Dispatch + # the required workflow explicitly against the exact update branch so its + # check/package-build contexts attach to the PR head SHA. + - name: Dispatch required checks + if: steps.check.outputs.update_needed == 'true' && steps.create-pr.outputs.pull-request-number + env: + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + run: | + gh workflow run check.yml \ + --ref "update-opencode-${{ steps.check.outputs.latest }}" + - name: Enable auto-merge if: steps.check.outputs.update_needed == 'true' && steps.create-pr.outputs.pull-request-number env: