Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
120 commits
Select commit Hold shift + click to select a range
cf5dd5a
fix(termux): add Android artifact support
wallentx Jul 6, 2026
88bc498
fix(termux): make target fork friendly
wallentx Jul 6, 2026
0ed10fb
release: v1.17.14
Jul 6, 2026
5fb0d1c
release: v1.17.15
Jul 7, 2026
c274745
chore(termux): seed release automation
github-actions[bot] Jul 7, 2026
85f6fc2
Termux v1.17.14 (#10)
unemployabot[bot] Jul 7, 2026
f5439d6
Merge commit '85f6fc2154bf9719d1a39738998ff3aea64d152b' into checkpoi…
github-actions[bot] Jul 7, 2026
ffca5f8
Merge pull request #11 from wallentx/checkpoint-85f6fc2154bf
unemployabot[bot] Jul 7, 2026
e7a1dc6
chore(termux): seed release automation
github-actions[bot] Jul 7, 2026
4704a45
chore(termux): prepare v1.17.15
github-actions[bot] Jul 7, 2026
1545068
Merge branch 'release-1.17.15' into termux-1.17.15
wallentx Jul 7, 2026
7c27868
Merge pull request #12 from wallentx/termux-1.17.15
wallentx Jul 7, 2026
f0b69bf
Merge commit '7c27868828fada7db0edef21b0f7f3a174da5ee9' into checkpoi…
github-actions[bot] Jul 7, 2026
4c6a4b7
Merge pull request #13 from wallentx/checkpoint-7c27868828fa
unemployabot[bot] Jul 7, 2026
d37ed61
fix(ci): disable upstream housekeeping on forks
wallentx Jul 7, 2026
f4d01f4
chore(codegraph): Ignore generated data files
wallentx Jul 7, 2026
7b75f81
fix(termux): pin OpenTUI for Android build
wallentx Jul 8, 2026
56cbbbb
Termux v1.17.14 (#14)
unemployabot[bot] Jul 8, 2026
a305196
Merge commit '56cbbbb1b59bb6395fa70c56f7fa3f8fb75523f5' into checkpoi…
github-actions[bot] Jul 8, 2026
89d8950
Merge pull request #15 from wallentx/checkpoint-56cbbbb1b59b
unemployabot[bot] Jul 8, 2026
3d87de4
chore(termux): seed release automation
github-actions[bot] Jul 8, 2026
59c6e7e
Termux v1.17.14 (#16)
unemployabot[bot] Jul 8, 2026
ca4387e
Merge commit '59c6e7e57876db1654d24ab725dc57fc1ee352ae' into checkpoi…
github-actions[bot] Jul 8, 2026
cecad03
Merge pull request #17 from wallentx/checkpoint-59c6e7e57876
unemployabot[bot] Jul 8, 2026
93be25f
chore(termux): seed release automation
github-actions[bot] Jul 8, 2026
849f645
Termux v1.17.15 (#18)
unemployabot[bot] Jul 8, 2026
907dbff
Merge commit '849f64528208566f42e39f46ecf725d50663c40b' into checkpoi…
github-actions[bot] Jul 8, 2026
22d3020
Merge pull request #19 from wallentx/checkpoint-849f64528208
unemployabot[bot] Jul 8, 2026
c7f08b3
release: v1.17.16
Jul 9, 2026
d632f38
chore(termux): seed release automation
github-actions[bot] Jul 9, 2026
40b500e
chore(termux): prepare v1.17.16
github-actions[bot] Jul 9, 2026
b1fc811
release: v1.17.18
Jul 9, 2026
d7afd59
Merge branch 'release-1.17.16' into termux-1.17.16
wallentx Jul 9, 2026
a2a3ca2
Merge pull request #20 from wallentx/termux-1.17.16
wallentx Jul 9, 2026
868effa
Merge commit 'a2a3ca24003d1163479eaf9c1220aa05d9f4a0f6' into checkpoi…
github-actions[bot] Jul 9, 2026
904acb3
Merge pull request #21 from wallentx/checkpoint-a2a3ca24003d
unemployabot[bot] Jul 9, 2026
9cf82c3
chore(termux): seed release automation
github-actions[bot] Jul 10, 2026
bf641a6
chore(termux): prepare v1.17.18
github-actions[bot] Jul 10, 2026
1870518
Merge remote-tracking branch 'origin/release-1.17.18' into HEAD
wallentx Jul 10, 2026
e6618d6
fix(termux): stabilize release branches
wallentx Jul 10, 2026
dfc2146
chore(termux): remove Zig build cache
wallentx Jul 10, 2026
ac975d7
fix(termux): skip release PR tests
wallentx Jul 10, 2026
7960e09
Merge pull request #22 from wallentx/termux-1.17.18
wallentx Jul 10, 2026
ced74c0
Merge commit '7960e0917e05f1de03e90a16785222c7156056e5' into checkpoi…
github-actions[bot] Jul 10, 2026
daf0cec
Merge pull request #23 from wallentx/checkpoint-7960e0917e05
unemployabot[bot] Jul 10, 2026
dc927a7
release: v1.17.19
Jul 13, 2026
b3bd21d
chore(termux): seed release automation
github-actions[bot] Jul 13, 2026
a991590
Termux v1.17.19 (#24)
unemployabot[bot] Jul 13, 2026
6490a7d
checkpoint: prepare release-1.17.19 for termux-target
github-actions[bot] Jul 13, 2026
ad982af
fix(termux): resolve 1.17.19 checkpoint conflicts
wallentx Jul 13, 2026
58ceb55
Merge pull request #25 from wallentx/checkpoint-a9915909beb1
wallentx Jul 13, 2026
4473fc3
release: v1.17.20
Jul 13, 2026
446d334
chore(termux): seed release automation
github-actions[bot] Jul 13, 2026
fff6066
Termux v1.17.20 (#26)
unemployabot[bot] Jul 13, 2026
715eecd
Merge commit 'fff6066385c7f66f985790dc29a7ee6382507478' into checkpoi…
wallentx Jul 13, 2026
bfde9fd
Merge pull request #27 from wallentx/checkpoint-fff6066385c7
wallentx Jul 13, 2026
4481a8b
feat(install): Support custom release repositories and Termux forks
wallentx Jul 19, 2026
8ab0e63
fix(termux): correct OpenTUI worker export
wallentx Jul 23, 2026
6c110df
fix(termux): drop OpenTUI package patch
wallentx Jul 23, 2026
e5cc278
release: v1.18.5
Jul 24, 2026
6632875
chore(termux): seed release automation
github-actions[bot] Jul 25, 2026
6d127f0
chore(termux): prepare v1.18.5
github-actions[bot] Jul 25, 2026
273c8f8
chore(termux): merge v1.18.5 release
wallentx Jul 25, 2026
4894169
Merge pull request #32 from wallentx/termux-1.18.5
wallentx Jul 25, 2026
00ac24e
release: v1.18.6
Jul 27, 2026
bcccaa1
chore(termux): seed release automation
github-actions[bot] Jul 27, 2026
e09accb
chore(termux): prepare v1.18.6
github-actions[bot] Jul 27, 2026
0298184
release: v1.18.7
Jul 27, 2026
350ce39
chore(termux): merge v1.18.6 release
wallentx Jul 27, 2026
9870da9
fix(ci): download promoted artifact from PR run
wallentx Jul 27, 2026
569aa75
fix(ci): flatten promoted PR artifact
wallentx Jul 27, 2026
40cf2e8
chore(termux): refresh v1.18.6 release base
wallentx Jul 27, 2026
385c033
Merge commit '4894169c123f2388051c0a8f53371dcfa5ed8c39' into checkpoi…
github-actions[bot] Jul 27, 2026
4832f7e
Merge pull request #34 from wallentx/checkpoint-4894169c123f
unemployabot[bot] Jul 27, 2026
9892243
Merge pull request #33 from wallentx/termux-1.18.6
wallentx Jul 27, 2026
eb5a69c
Merge commit '98922437a660905ee7e9c44cac939ac8717bf252' into checkpoi…
github-actions[bot] Jul 27, 2026
15f43c3
Merge pull request #35 from wallentx/checkpoint-98922437a660
unemployabot[bot] Jul 27, 2026
2fe629a
chore(termux): seed release automation
github-actions[bot] Jul 27, 2026
85f02b8
Termux v1.18.7 (#36)
unemployabot[bot] Jul 27, 2026
65fe4f1
Merge commit '85f02b88ab44770af9f7b59dfafdeb544773fe35' into checkpoi…
github-actions[bot] Jul 27, 2026
0400ed4
Merge pull request #37 from wallentx/checkpoint-85f02b88ab44
unemployabot[bot] Jul 27, 2026
012c2f5
release: v1.18.11
Aug 1, 2026
c1f4213
chore(termux): seed release automation
github-actions[bot] Aug 2, 2026
69a4194
Termux v1.18.11 (#38)
unemployabot[bot] Aug 2, 2026
b767d7c
Merge commit '69a41940a2f4f3d70390f38b3e4c2b9688f36a35' into checkpoi…
github-actions[bot] Aug 2, 2026
5a67b0e
Merge pull request #39 from wallentx/checkpoint-69a41940a2f4
wallentx Aug 2, 2026
a105350
release: v1.18.13
Aug 4, 2026
b4fec81
chore(termux): seed release automation
github-actions[bot] Aug 4, 2026
3fd9e15
Termux v1.18.13 (#42)
unemployabot[bot] Aug 4, 2026
65e7389
Merge commit '3fd9e15e349c59cc7009b95c2972fab3f161ecbf' into checkpoi…
github-actions[bot] Aug 4, 2026
39c810d
fix(ci): satisfy checkpoint build gate
wallentx Aug 4, 2026
c43bfbc
chore(termux): refresh checkpoint base
wallentx Aug 4, 2026
23da402
Merge pull request #43 from wallentx/checkpoint-3fd9e15e349c
wallentx Aug 4, 2026
65cf14d
release: v1.18.14
Aug 5, 2026
3dd9de6
chore(termux): seed release automation
github-actions[bot] Aug 5, 2026
6d7624e
Termux v1.18.14 (#44)
unemployabot[bot] Aug 5, 2026
80f010e
Merge commit '6d7624e282221d87c1f7c2075d6c05dc1f483251' into checkpoi…
github-actions[bot] Aug 5, 2026
7462e58
Merge pull request #45 from wallentx/checkpoint-6d7624e28222
unemployabot[bot] Aug 5, 2026
d7b115f
release: v1.18.15
Aug 7, 2026
01ebd89
chore(termux): seed release automation
github-actions[bot] Aug 7, 2026
f985b07
Termux v1.18.15 (#46)
unemployabot[bot] Aug 7, 2026
a7e0dc5
Merge commit 'f985b0769f3b92fad697ef678936d12e256cfbde' into checkpoi…
github-actions[bot] Aug 7, 2026
5b883cb
Merge pull request #47 from wallentx/checkpoint-f985b0769f3b
unemployabot[bot] Aug 7, 2026
a3647eb
release: v1.18.16
Aug 10, 2026
ea2743b
chore(termux): seed release automation
github-actions[bot] Aug 10, 2026
592ebe0
Termux v1.18.16 (#48)
unemployabot[bot] Aug 10, 2026
3008f03
Merge commit '592ebe0d18d5d6569f9368004fc1b518a7004fe7' into checkpoi…
github-actions[bot] Aug 10, 2026
b053548
Merge pull request #49 from wallentx/checkpoint-592ebe0d18d5
unemployabot[bot] Aug 10, 2026
02546df
release: v1.18.17
Aug 12, 2026
c279523
chore(termux): seed release automation
github-actions[bot] Aug 12, 2026
6e296fc
Termux v1.18.17 (#50)
unemployabot[bot] Aug 12, 2026
cd257f7
Merge commit '6e296fc0c48cb284033b2774986ee292b3871fbc' into checkpoi…
github-actions[bot] Aug 12, 2026
da10319
Merge pull request #51 from wallentx/checkpoint-6e296fc0c48c
unemployabot[bot] Aug 12, 2026
31406cc
release: v1.18.18
Aug 13, 2026
8af135a
chore(termux): seed release automation
github-actions[bot] Aug 13, 2026
ccb4430
Termux v1.18.18 (#52)
unemployabot[bot] Aug 13, 2026
3e3169b
Merge commit 'ccb44300c556a8caefb1f5916a86d15f9b022eca' into checkpoi…
github-actions[bot] Aug 13, 2026
84af57e
Merge pull request #53 from wallentx/checkpoint-ccb44300c556
unemployabot[bot] Aug 13, 2026
3b6c08d
chore(termux): prepare v1.18.19
github-actions[bot] Aug 20, 2026
6f7b411
chore(termux): merge v1.18.19 release
wallentx Aug 20, 2026
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
5 changes: 5 additions & 0 deletions .codegraph/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# CodeGraph data files — local to each machine, not for committing.
# Ignore everything in .codegraph/ except this file itself, so transient
# files (the database, daemon.pid, sockets, logs) never show up in git.
*
!.gitignore
12 changes: 12 additions & 0 deletions .github/actionlint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
self-hosted-runner:
labels:
- blacksmith-4vcpu-ubuntu-2404
- blacksmith-4vcpu-ubuntu-2404-arm
- blacksmith-4vcpu-windows-2025

config-variables: null

paths:
.github/workflows/docs-locale-sync.yml:
ignore:
- 'constant expression "false" in condition'
15 changes: 15 additions & 0 deletions .github/termux-release.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"upstream_repo": "anomalyco/opencode",
"upstream_tag": "v1.18.19",
"upstream_name": "v1.18.19",
"upstream_html_url": "https://github.com/anomalyco/opencode/releases/tag/v1.18.19",
"upstream_target": "f4a89683da2fb5fd1b37995402100ca7a24a8484",
"upstream_release_id": "373516173",
"upstream_prerelease": false,
"release_train": "1.18.19",
"release_branch": "release-1.18.19",
"work_branch": "termux-1.18.19",
"patch_branch": "termux-target",
"patch_source_sha": "84af57eba98c1ececc0a2cd82398da3535ad80e2",
"termux_tag": "v1.18.19-termux"
}
1 change: 1 addition & 0 deletions .github/workflows/close-issues.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ on:

jobs:
close:
if: github.repository == 'anomalyco/opencode'
runs-on: ubuntu-latest
permissions:
contents: read
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/close-prs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ on:

jobs:
close:
if: github.repository == 'anomalyco/opencode'
runs-on: ubuntu-latest
timeout-minutes: 240
permissions:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/compliance-close.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ permissions:

jobs:
close-non-compliant:
if: github.repository == 'anomalyco/opencode'
runs-on: ubuntu-latest
steps:
- name: Close non-compliant issues and PRs after 2 hours
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/containers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ permissions:

jobs:
build:
runs-on: blacksmith-4vcpu-ubuntu-2404
if: github.repository == 'anomalyco/opencode'
runs-on: ${{ github.repository == 'anomalyco/opencode' && 'blacksmith-4vcpu-ubuntu-2404' || 'ubuntu-latest' }}
env:
REGISTRY: ghcr.io/${{ github.repository_owner }}
TAG: "24.04"
Expand All @@ -32,6 +33,7 @@ jobs:
uses: docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f # v3.12.0

- name: Login to GHCR
if: github.repository == 'anomalyco/opencode'
uses: docker/login-action@c94ce9fb468520275223c153574b00df6fe4bcc9 # v3.7.0
with:
registry: ghcr.io
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/docs-locale-sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
sync-locales:
if: false
#if: github.actor != 'opencode-agent[bot]'
runs-on: blacksmith-4vcpu-ubuntu-2404
runs-on: ${{ github.repository == 'anomalyco/opencode' && 'blacksmith-4vcpu-ubuntu-2404' || 'ubuntu-latest' }}
permissions:
contents: write
steps:
Expand All @@ -26,6 +26,7 @@ jobs:
uses: ./.github/actions/setup-bun

- name: Setup git committer
if: github.repository == 'anomalyco/opencode'
id: committer
uses: ./.github/actions/setup-git-committer
with:
Expand Down Expand Up @@ -53,7 +54,7 @@ jobs:
run: curl -fsSL https://opencode.ai/install | bash

- name: Sync locale docs with OpenCode
if: steps.changes.outputs.has_changes == 'true'
if: github.repository == 'anomalyco/opencode' && (steps.changes.outputs.has_changes == 'true')
env:
OPENCODE_API_KEY: ${{ secrets.OPENCODE_API_KEY }}
OPENCODE_CONFIG_CONTENT: |
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/duplicate-issues.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ on:

jobs:
check-duplicates:
if: github.event.action == 'opened'
runs-on: blacksmith-4vcpu-ubuntu-2404
if: github.repository == 'anomalyco/opencode' && github.event.action == 'opened'
runs-on: ${{ github.repository == 'anomalyco/opencode' && 'blacksmith-4vcpu-ubuntu-2404' || 'ubuntu-latest' }}
permissions:
contents: read
issues: write
Expand Down Expand Up @@ -41,7 +41,7 @@ jobs:
run: curl -fsSL https://opencode.ai/install | bash

- name: Check duplicates and compliance
if: steps.author.outputs.skip != 'true'
if: github.repository == 'anomalyco/opencode' && (steps.author.outputs.skip != 'true')
env:
OPENCODE_API_KEY: ${{ secrets.OPENCODE_API_KEY }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down Expand Up @@ -140,8 +140,8 @@ jobs:
Remember: post at most ONE comment combining all findings. If everything is fine, post nothing."

recheck-compliance:
if: github.event.action == 'edited' && contains(github.event.issue.labels.*.name, 'needs:compliance')
runs-on: blacksmith-4vcpu-ubuntu-2404
if: github.repository == 'anomalyco/opencode' && github.event.action == 'edited' && contains(github.event.issue.labels.*.name, 'needs:compliance')
runs-on: ${{ github.repository == 'anomalyco/opencode' && 'blacksmith-4vcpu-ubuntu-2404' || 'ubuntu-latest' }}
permissions:
contents: read
issues: write
Expand Down Expand Up @@ -175,7 +175,7 @@ jobs:
run: curl -fsSL https://opencode.ai/install | bash

- name: Recheck compliance
if: steps.author.outputs.skip != 'true'
if: github.repository == 'anomalyco/opencode' && (steps.author.outputs.skip != 'true')
env:
OPENCODE_API_KEY: ${{ secrets.OPENCODE_API_KEY }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
16 changes: 3 additions & 13 deletions .github/workflows/generate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ on:

jobs:
generate:
runs-on: blacksmith-4vcpu-ubuntu-2404
if: github.repository == 'anomalyco/opencode'
runs-on: ${{ github.repository == 'anomalyco/opencode' && 'blacksmith-4vcpu-ubuntu-2404' || 'ubuntu-latest' }}
permissions:
contents: write
pull-requests: write
Expand All @@ -19,6 +20,7 @@ jobs:
uses: ./.github/actions/setup-bun

- name: Setup git committer
if: github.repository == 'anomalyco/opencode'
id: committer
uses: ./.github/actions/setup-git-committer
with:
Expand All @@ -37,15 +39,3 @@ jobs:
git add -A
git commit -m "chore: generate" --allow-empty
git push origin HEAD:${{ github.ref_name }} --no-verify
# if ! git push origin HEAD:${{ github.event.pull_request.head.ref || github.ref_name }} --no-verify; then
# echo ""
# echo "============================================"
# echo "Failed to push generated code."
# echo "Please run locally and push:"
# echo ""
# echo " ./script/generate.ts"
# echo " git add -A && git commit -m \"chore: generate\" && git push"
# echo ""
# echo "============================================"
# exit 1
# fi
2 changes: 1 addition & 1 deletion .github/workflows/nix-eval.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ permissions:

jobs:
nix-eval:
runs-on: blacksmith-4vcpu-ubuntu-2404
runs-on: ${{ github.repository == 'anomalyco/opencode' && 'blacksmith-4vcpu-ubuntu-2404' || 'ubuntu-latest' }}
timeout-minutes: 15
steps:
- name: Checkout repository
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/nix-hashes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ jobs:
# Native runners required: bun install cross-compilation flags (--os/--cpu)
# do not produce byte-identical node_modules as native installs.
compute-hash:
if: github.repository == 'anomalyco/opencode'
strategy:
fail-fast: false
matrix:
Expand All @@ -37,7 +38,7 @@ jobs:
runner: macos-15-intel
- system: aarch64-darwin
runner: macos-latest
runs-on: ${{ matrix.runner }}
runs-on: ${{ github.repository == 'anomalyco/opencode' && (matrix.runner) || 'ubuntu-latest' }}

steps:
- name: Checkout repository
Expand Down Expand Up @@ -90,7 +91,7 @@ jobs:

update-hashes:
needs: compute-hash
if: github.event_name != 'pull_request'
if: github.repository == 'anomalyco/opencode' && github.event_name != 'pull_request'
runs-on: blacksmith-4vcpu-ubuntu-2404

steps:
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/notify-discord.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,11 @@ on:

jobs:
notify:
runs-on: blacksmith-4vcpu-ubuntu-2404
if: github.repository == 'anomalyco/opencode'
runs-on: ${{ github.repository == 'anomalyco/opencode' && 'blacksmith-4vcpu-ubuntu-2404' || 'ubuntu-latest' }}
steps:
- name: Send nicely-formatted embed to Discord
if: github.repository == 'anomalyco/opencode'
uses: SethCohen/github-releases-to-discord@24d166886aee4646d448c8a389ff9e1ebcab3682 # v1.20.0
with:
webhook_url: ${{ secrets.DISCORD_WEBHOOK }}
14 changes: 9 additions & 5 deletions .github/workflows/opencode.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,14 @@ on:
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: blacksmith-4vcpu-ubuntu-2404
github.repository == 'anomalyco/opencode' &&
(
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: ${{ github.repository == 'anomalyco/opencode' && 'blacksmith-4vcpu-ubuntu-2404' || 'ubuntu-latest' }}
permissions:
id-token: write
contents: read
Expand All @@ -26,6 +29,7 @@ jobs:
- uses: ./.github/actions/setup-bun

- name: Run opencode
if: github.repository == 'anomalyco/opencode'
uses: anomalyco/opencode/github@2c14fc5586fe0b88e5c04732d2e846769cc35671 # latest
env:
OPENCODE_API_KEY: ${{ secrets.OPENCODE_API_KEY }}
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/pr-management.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ on:

jobs:
check-duplicates:
runs-on: blacksmith-4vcpu-ubuntu-2404
if: github.repository == 'anomalyco/opencode'
runs-on: ${{ github.repository == 'anomalyco/opencode' && 'blacksmith-4vcpu-ubuntu-2404' || 'ubuntu-latest' }}
permissions:
contents: read
pull-requests: write
Expand Down Expand Up @@ -57,7 +58,7 @@ jobs:
} > pr_info.txt

- name: Check for duplicate PRs
if: steps.team-check.outputs.is_team != 'true'
if: github.repository == 'anomalyco/opencode' && (steps.team-check.outputs.is_team != 'true')
env:
OPENCODE_API_KEY: ${{ secrets.OPENCODE_API_KEY }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -72,6 +73,7 @@ jobs:
fi

add-contributor-label:
if: github.repository == 'anomalyco/opencode'
runs-on: ubuntu-latest
permissions:
pull-requests: write
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/pr-standards.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ on:

jobs:
check-standards:
if: github.repository == 'anomalyco/opencode'
runs-on: ubuntu-latest
permissions:
contents: read
Expand Down Expand Up @@ -153,6 +154,7 @@ jobs:
console.log('PR meets all standards');

check-compliance:
if: github.repository == 'anomalyco/opencode'
runs-on: ubuntu-latest
permissions:
contents: read
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/publish-github-action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ permissions:

jobs:
publish:
runs-on: blacksmith-4vcpu-ubuntu-2404
if: github.repository == 'anomalyco/opencode'
runs-on: ${{ github.repository == 'anomalyco/opencode' && 'blacksmith-4vcpu-ubuntu-2404' || 'ubuntu-latest' }}
steps:
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
with:
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/publish-vscode.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ permissions:

jobs:
publish:
runs-on: blacksmith-4vcpu-ubuntu-2404
if: github.repository == 'anomalyco/opencode'
runs-on: ${{ github.repository == 'anomalyco/opencode' && 'blacksmith-4vcpu-ubuntu-2404' || 'ubuntu-latest' }}
steps:
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
with:
Expand All @@ -29,6 +30,7 @@ jobs:
working-directory: ./sdks/vscode

- name: Publish
if: github.repository == 'anomalyco/opencode'
run: |
./script/publish
working-directory: ./sdks/vscode
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/release-github-action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ permissions:

jobs:
release:
runs-on: blacksmith-4vcpu-ubuntu-2404
if: github.repository == 'anomalyco/opencode'
runs-on: ${{ github.repository == 'anomalyco/opencode' && 'blacksmith-4vcpu-ubuntu-2404' || 'ubuntu-latest' }}
steps:
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
with:
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,11 @@ on:
jobs:
check-guidelines:
if: |
github.repository == 'anomalyco/opencode' &&
github.event.issue.pull_request &&
startsWith(github.event.comment.body, '/review') &&
contains(fromJson('["OWNER","MEMBER"]'), github.event.comment.author_association)
runs-on: blacksmith-4vcpu-ubuntu-2404
runs-on: ${{ github.repository == 'anomalyco/opencode' && 'blacksmith-4vcpu-ubuntu-2404' || 'ubuntu-latest' }}
permissions:
contents: read
pull-requests: write
Expand Down Expand Up @@ -44,6 +45,7 @@ jobs:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Check PR guidelines compliance
if: github.repository == 'anomalyco/opencode'
env:
OPENCODE_API_KEY: ${{ secrets.OPENCODE_API_KEY }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/storybook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ concurrency:
jobs:
build:
name: storybook build
runs-on: blacksmith-4vcpu-ubuntu-2404
runs-on: ${{ github.repository == 'anomalyco/opencode' && 'blacksmith-4vcpu-ubuntu-2404' || 'ubuntu-latest' }}
steps:
- name: Checkout repository
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/triage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ on:

jobs:
triage:
runs-on: blacksmith-4vcpu-ubuntu-2404
if: github.repository == 'anomalyco/opencode'
runs-on: ${{ github.repository == 'anomalyco/opencode' && 'blacksmith-4vcpu-ubuntu-2404' || 'ubuntu-latest' }}
permissions:
contents: read
issues: write
Expand Down Expand Up @@ -41,7 +42,7 @@ jobs:
run: curl -fsSL https://opencode.ai/install | bash

- name: Triage issue
if: steps.author.outputs.skip != 'true'
if: github.repository == 'anomalyco/opencode' && (steps.author.outputs.skip != 'true')
env:
OPENCODE_API_KEY: ${{ secrets.OPENCODE_API_KEY }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/typecheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:

jobs:
typecheck:
runs-on: blacksmith-4vcpu-ubuntu-2404
runs-on: ${{ github.repository == 'anomalyco/opencode' && 'blacksmith-4vcpu-ubuntu-2404' || 'ubuntu-latest' }}
steps:
- name: Checkout repository
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,6 @@ UPCOMING_CHANGELOG.md
logs/
*.bun-build
tsconfig.tsbuildinfo
.zig-cache/
.codegraph/
.codex/
Loading
Loading