Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions .github/workflows/update-opencode.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ concurrency:
cancel-in-progress: false

permissions:
actions: write
contents: write
pull-requests: write

Expand Down Expand Up @@ -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:
Expand Down
6 changes: 3 additions & 3 deletions packages/opencode/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
}:
stdenvNoCC.mkDerivation (finalAttrs: {
pname = "opencode";
version = "1.17.13";
version = "1.18.3";

__structuredAttrs = true;
strictDeps = true;
Expand All @@ -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 {
Expand Down Expand Up @@ -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";
};
Expand Down