Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
737 commits
Select commit Hold shift + click to select a range
2e1593d
chore: generate
opencode-agent[bot] May 18, 2026
ee5cf45
Migrate simple config tests to instance fixtures (#28210)
kitlangton May 18, 2026
7b8a103
refactor(test/lib): generalize run-process harness into cli-process (…
kitlangton May 18, 2026
338666d
Migrate config template tests to instance fixtures (#28211)
kitlangton May 18, 2026
9a19e84
Migrate config agent tests to instance fixtures (#28213)
kitlangton May 18, 2026
ebb672a
test(cli): subprocess integration tests for opencode serve (#28263)
kitlangton May 19, 2026
6f160bb
chore: generate
opencode-agent[bot] May 19, 2026
c032e82
Migrate config update tests to instance fixtures (#28266)
kitlangton May 19, 2026
996928b
Migrate config .opencode file tests to instance fixtures (#28268)
kitlangton May 19, 2026
7e4b02f
test: migrate config legacy tool fixtures
kitlangton May 19, 2026
e53563f
test: migrate remaining simple config fixtures
kitlangton May 19, 2026
bcc69f0
test: migrate managed config fixtures
kitlangton May 19, 2026
d9d43d8
test: migrate plugin config fixtures
kitlangton May 19, 2026
2c3bcf3
feat(httpapi): add v2 public error schemas (#28297)
nexxeln May 19, 2026
dac81cd
fix(httpapi): preserve v2 openapi errors (#28298)
nexxeln May 19, 2026
3bd3047
chore: generate
opencode-agent[bot] May 19, 2026
cbd2620
feat(i18n): add Ukrainian (uk) locale support (#28061)
MYMDO May 19, 2026
2d348da
chore: generate
opencode-agent[bot] May 19, 2026
2339aac
chore(team): add starptech to the team members list (#28320)
StarpTech May 19, 2026
9790a61
chore(docs): remove beta zen go (#28317)
StarpTech May 19, 2026
ee16f08
Fix legacy pgup/pgdown TUI keybind aliases (#28275)
kommander May 19, 2026
cb15b3a
test(cli): subprocess integration tests for opencode acp (#28265)
kitlangton May 19, 2026
6618e2b
feat(native-llm): route Anthropic API-key models through native runti…
kitlangton May 19, 2026
a2ee437
chore: generate
opencode-agent[bot] May 19, 2026
922b2e1
refactor(app): remove Accessor wrapping from timeline row renders (#2…
Brendonovich May 19, 2026
2932a7a
fix(app): invalidate provider queries after config update to show cus…
tianxiaoliang May 19, 2026
18b9cec
test(cli): help-text snapshots for every CLI command (#28267)
kitlangton May 19, 2026
8dd6448
use keymap state for layer visibility (#26246)
kommander May 19, 2026
c79a963
fix(tool): tolerate plugin tool defs with missing args (#28357)
kitlangton May 19, 2026
55baa16
test(lib): extract snapshot normalizer utility for cross-OS stability…
kitlangton May 19, 2026
eec0843
chore: generate
opencode-agent[bot] May 19, 2026
b67f5d7
test(opencode/run): skip Windows-only scrollback replay failure (#28261)
kitlangton May 19, 2026
7051796
test(cli): tier-A read-only command smoke tests (#28274)
kitlangton May 19, 2026
512e34a
Migrate MCP config tests to instance fixtures (#28338)
kitlangton May 19, 2026
b32f071
feat(go): referral support (#28345)
vimtor May 19, 2026
e4eb98b
chore: generate
opencode-agent[bot] May 19, 2026
c449d3d
Migrate remaining legacy tools config tests (#28363)
kitlangton May 19, 2026
b20b569
chore(go): referral improvements (#28368)
vimtor May 19, 2026
a99337f
chore: generate
opencode-agent[bot] May 19, 2026
64d67f2
sync
fwang May 19, 2026
ea27114
go: update referral invite ui style
fwang May 19, 2026
71e9007
chore: generate
opencode-agent[bot] May 19, 2026
4db2746
Reduce snapshot batch test fixture sizes (#28381)
kitlangton May 19, 2026
bc6c4c7
chore(triage): add 'starptech' to core and inference teams (#28376)
StarpTech May 19, 2026
80e5fb1
refactor(test/cli): migrate harness short-lived path to AppProcess + …
kitlangton May 19, 2026
e3c8d22
chore: generate
opencode-agent[bot] May 19, 2026
b70b459
Skip LLM server for prompt tests without LLM calls (#28391)
kitlangton May 19, 2026
c035c35
fix(config): tolerate invalid OPENCODE_PERMISSION JSON (#28388)
kitlangton May 19, 2026
e94d46a
fix(config): resolve agent/command names from relative paths (#28359)
kitlangton May 19, 2026
34cae2f
fix(action): remove orphan symlink breaking GitHub Action staging (#2…
kitlangton May 19, 2026
a8f7c5e
Run CLI subprocess tests concurrently (#28399)
kitlangton May 19, 2026
59c99dc
Skip snapshot seed file commits (#28405)
kitlangton May 19, 2026
4ad261d
Skip git setup for processor tool test (#28406)
kitlangton May 19, 2026
66d409d
fix(opencode): Update directory and path fields of imported session (…
OpeOginni May 20, 2026
82c5d45
Add Windows desktop app menu (#28420)
Hona May 20, 2026
4702cdd
chore: generate
opencode-agent[bot] May 20, 2026
38b406f
app: Initial tabs impl (#28436)
Brendonovich May 20, 2026
11f7e5a
chore: generate
opencode-agent[bot] May 20, 2026
539b118
run: add shell mode to prompt (#28315)
simonklee May 20, 2026
13006d6
chore: generate
opencode-agent[bot] May 20, 2026
17d66ee
feat(tui): initial impl of diff viewer (#28476)
jlongster May 20, 2026
8940572
chore: generate
opencode-agent[bot] May 20, 2026
9324ef0
fix(cli): default console login url (#28474)
thdxr May 20, 2026
14e9e5d
fix(enterprise): message nav hovercard and active state (#23964)
OpeOginni May 20, 2026
ef82426
handle permanent file plugin errors (#27344)
kommander May 20, 2026
b67b03e
chore: simplify referral codes (#28491)
vimtor May 20, 2026
ac76af8
zen: add gemini 3.5 flash
fwang May 20, 2026
9559e24
chore: generate
opencode-agent[bot] May 20, 2026
40e73c4
fix(httpapi): expose v2 request errors (#28495)
nexxeln May 20, 2026
0e118d1
chore: generate
opencode-agent[bot] May 20, 2026
ba803dd
fix(sdk): unbreak typecheck on dev after v2 error widening (#28503)
kitlangton May 20, 2026
ed83984
run: replace subagent tabs with on-demand picker (#28508)
simonklee May 20, 2026
3553754
chore: generate
opencode-agent[bot] May 20, 2026
ec6d42d
chore: update Effect beta (#28505)
kitlangton May 20, 2026
7690481
chore: update nix node_modules hashes
opencode-agent[bot] May 20, 2026
4308dd7
fix(httpapi): expose v2 catalog errors (#28498)
nexxeln May 20, 2026
b0ca041
chore: generate
opencode-agent[bot] May 20, 2026
4cbeacb
chore: update Drizzle RC (#28506)
kitlangton May 20, 2026
58143c4
feat(tui): focus first file in file tree (#28513)
jlongster May 20, 2026
650594e
chore: update nix node_modules hashes
opencode-agent[bot] May 20, 2026
d0779d2
feat(tui): collapse directories when possible in file tree (#28512)
jlongster May 20, 2026
de672fd
chore: generate
opencode-agent[bot] May 20, 2026
2969a51
upgrade opentui to 0.2.15 (#28510)
kommander May 20, 2026
eb52362
chore: generate
opencode-agent[bot] May 20, 2026
38e3b40
test(server): port event-diagnostics to Effect runner (#28520)
kitlangton May 20, 2026
09603ed
chore: generate
opencode-agent[bot] May 20, 2026
43c24d8
fix(tui): gate Zed context on terminal env (#28517)
kitlangton May 20, 2026
f5a8202
fix(tui): simplify thinking toggle styling (#28487)
rekram1-node May 20, 2026
7c121d4
chore: generate
opencode-agent[bot] May 20, 2026
0e17c4f
chore: update nix node_modules hashes
opencode-agent[bot] May 20, 2026
6a9cbe7
sync release versions for v1.15.6
May 20, 2026
a6e1aa0
fix(tui): default new sessions always to local project (#28541)
jlongster May 20, 2026
b4a01cc
chore: generate
opencode-agent[bot] May 20, 2026
7b0fd9f
zen: grok build 0.1
fwang May 20, 2026
7b9d7a7
sync
fwang May 20, 2026
5381795
feat(effect-drizzle-sqlite): add vendored sqlite adapter (#28547)
kitlangton May 21, 2026
41f6daf
Refactor LLM route-first provider API (#28523)
kitlangton May 21, 2026
bd41dac
chore: update nix node_modules hashes
opencode-agent[bot] May 21, 2026
8643c07
Rename v2 auth service to account (#28260)
thdxr May 21, 2026
93131b6
chore: generate
opencode-agent[bot] May 21, 2026
16fb6da
fix(llm): restore OpenAI reasoning streams (#28552)
kitlangton May 21, 2026
661df8f
fix(opencode): register account events in EventV2 bridge (#28555)
kitlangton May 21, 2026
12bbe84
chore: generate
opencode-agent[bot] May 21, 2026
ddd6eb4
fix(tui): separate question checkmark labels (#28558)
kitlangton May 21, 2026
fb9d69e
refactor(opencode): extract session LLM request prep (#28560)
kitlangton May 21, 2026
4487fbf
fix(provider): support PDF attachments for xAI/Grok (#28561)
rekram1-node May 21, 2026
4fae476
chore: generate
opencode-agent[bot] May 21, 2026
5079fed
test(opencode): remove redundant global event casts (#28564)
kitlangton May 21, 2026
8bfa188
fix(tui): use colon for collapsed thinking labels (#28562)
rekram1-node May 21, 2026
172fd97
chore: generate
opencode-agent[bot] May 21, 2026
6e177ee
chore: update nix node_modules hashes
opencode-agent[bot] May 21, 2026
2600869
fix(question): surface schema failures as friendly tool errors (#28563)
kitlangton May 21, 2026
c05ce3b
test(opencode): port amazon-bedrock.test.ts to it.instance (#28559)
kitlangton May 21, 2026
9cd6e07
chore: generate
opencode-agent[bot] May 21, 2026
e0e8159
test(opencode): port provider.test.ts to it.instance (#28565)
kitlangton May 21, 2026
fccfef1
chore: generate
opencode-agent[bot] May 21, 2026
ddf18a7
test(server): port event SSE tests to it.instance + testEffectShared …
kitlangton May 21, 2026
8fc02b0
refactor(question): tool-arg errors at the boundary, drop redundant i…
kitlangton May 21, 2026
d37f9e7
test(control-plane): port workspace.test.ts to it.instance (#28572)
kitlangton May 21, 2026
2b28cc9
chore: generate
opencode-agent[bot] May 21, 2026
facd207
fix(opencode): support native OpenAI OAuth fetch (#28571)
kitlangton May 21, 2026
8f3949d
chore: generate
opencode-agent[bot] May 21, 2026
69eee26
refactor(permission): drop redundant inner decode in Permission.ask (…
kitlangton May 21, 2026
39ea816
refactor(opencode): roll out serviceUse proxy across 14 services + te…
kitlangton May 21, 2026
d9ed62e
chore: generate
opencode-agent[bot] May 21, 2026
14366af
test(session): port llm.test.ts to it.instance (#28578)
kitlangton May 21, 2026
7a55444
chore: generate
opencode-agent[bot] May 21, 2026
c64ac90
fix(opencode): dedupe concurrent Codex OAuth refreshes (#28236)
cooper-oai May 21, 2026
bea3ca5
feat(desktop): Add Export Logs (#26262)
Hona May 21, 2026
7566cfe
chore: generate
opencode-agent[bot] May 21, 2026
7ff392a
chore: update nix node_modules hashes
opencode-agent[bot] May 21, 2026
b32debb
feat(opencode): add xAI Grok OAuth (SuperGrok) + device-code login (#…
Jaaneek May 21, 2026
6602341
chore: generate
opencode-agent[bot] May 21, 2026
b207e32
feat(app): add desktop v2 home, session entry, and titlebar (#28442)
Hona May 21, 2026
8c72edb
chore: generate
opencode-agent[bot] May 21, 2026
6de584f
zen: fix affiliated header
fwang May 21, 2026
b2661c4
app: more new designs (#28603)
Brendonovich May 21, 2026
4d900b2
fix(ui): preserve target attribute in DOMPurify config for markdown l…
kagura-agent May 21, 2026
b275b12
fix(httpapi): expose v2 session not found (#28511)
nexxeln May 21, 2026
f70afbe
chore: generate
opencode-agent[bot] May 21, 2026
7d5e91b
opencode: provide channel to web build (#28612)
Brendonovich May 21, 2026
f5d20c5
fix(httpapi): expose unavailable v2 session mutations (#28624)
nexxeln May 21, 2026
516af86
chore: generate
opencode-agent[bot] May 21, 2026
ee594ba
docs: sync TUI config translations and Zen pricing (#28620)
MrMushrooooom May 21, 2026
fc08292
fix(httpapi): add unknown error references (#28629)
nexxeln May 21, 2026
dbd7093
chore: generate
opencode-agent[bot] May 21, 2026
2697cb8
fix(httpapi): remove config error middleware special case (#28631)
nexxeln May 21, 2026
2caac05
feat(desktop): add pinch zoom setting (#28632)
Brendonovich May 21, 2026
4a97648
chore: generate
opencode-agent[bot] May 21, 2026
9739d75
fix(httpapi): handle corrupt v2 session messages (#28633)
nexxeln May 21, 2026
6bee6ee
chore: generate
opencode-agent[bot] May 21, 2026
75ce8fe
chore: upgrade sst version (#26224)
vimtor May 21, 2026
a58c3c5
sync release versions for v1.15.7
May 21, 2026
61390db
fix(llm): preserve native continuation metadata (#28678)
kitlangton May 21, 2026
003f1ce
test(control-plane): finish porting workspace.test.ts to it.instance …
kitlangton May 21, 2026
3ca09ee
chore: generate
opencode-agent[bot] May 21, 2026
6c24062
chore(deps): bump gitlab-ai-provider to 6.7.0 (#28218)
vglafirov May 21, 2026
82b796c
fix(httpapi): return session busy error bodies (#28684)
nexxeln May 21, 2026
7e35cff
chore: generate
opencode-agent[bot] May 21, 2026
e4957a7
chore: update nix node_modules hashes
opencode-agent[bot] May 21, 2026
a568f61
sync
fwang May 21, 2026
0d2de7d
sync
fwang May 21, 2026
40da77e
test(opencode): cover native reasoning continuation (#28683)
kitlangton May 21, 2026
0cc55c1
sync
fwang May 21, 2026
d709420
sync
fwang May 21, 2026
231689c
test(config): port env-var config tests to it.instance (#28706)
kitlangton May 21, 2026
9ecb04e
chore: generate
opencode-agent[bot] May 21, 2026
562d299
sync
fwang May 21, 2026
b99787e
refactor(opencode): fetch remote config with http client (#28661)
kitlangton May 21, 2026
80fa6e6
sync
fwang May 21, 2026
d21477d
sync
fwang May 21, 2026
31d2d38
sync
fwang May 21, 2026
86907e2
refactor(server): drop dead Fence.wait + redundant casts (#28710)
kitlangton May 21, 2026
2935d18
refactor(server): rename Fence.waitEffect to Fence.wait (#28717)
kitlangton May 21, 2026
e63dcd3
sync
fwang May 21, 2026
4b49606
fix(opencode): update spinner color logic (#28032)
OpeOginni May 21, 2026
e92c4fb
chore: drop dead imports across opencode/core/llm (#28720)
kitlangton May 21, 2026
39e7ff9
sync
fwang May 21, 2026
1268f86
fix: exempt team members from compliance cleanup
rekram1-node May 21, 2026
bbbef0d
sync
fwang May 21, 2026
ee00892
feat(tui): design revamp of diff viewer (#28728)
jlongster May 21, 2026
87d4cb0
chore: generate
opencode-agent[bot] May 21, 2026
8115f0c
sync
fwang May 21, 2026
21f3386
sync
fwang May 21, 2026
5671432
sync
fwang May 21, 2026
fcf4dff
sync
fwang May 21, 2026
ad1d147
sync
fwang May 21, 2026
3e93115
tweak(tui): remove italics from thinking labels (#28737)
rekram1-node May 22, 2026
7a97244
fix(vertex): Vertex (Antropic) provider: use .rep.googleapis.com for …
JPFrancoia May 22, 2026
9f06acc
chore: generate
opencode-agent[bot] May 22, 2026
1f0390c
app: wrap provider data in Map to avoid store (#28765)
Brendonovich May 22, 2026
6466fcf
refactor(app): simplify session routing and tab close handling (#28767)
Brendonovich May 22, 2026
f3874ec
refactor(app): move tab navigation to titlebar and conditionally regi…
Brendonovich May 22, 2026
f6101ae
refactor(app): consolidate sdk and sync contexts (#28782)
Brendonovich May 22, 2026
76d9c2c
fix(app): debounce vcs refresh in session page (#28784)
Brendonovich May 22, 2026
4ce247e
fix(httpapi): return request not found errors (#28693)
nexxeln May 22, 2026
2663ecd
chore: generate
opencode-agent[bot] May 22, 2026
7a769da
fix(mcp): include scope in clientMetadata and add callbackPort option…
sebin May 22, 2026
060fbc9
chore: generate
opencode-agent[bot] May 22, 2026
51da348
feat(tui): copy worktree path from palette (#28823)
nexxeln May 22, 2026
0beb4de
fix(httpapi): return mcp server not found errors (#28817)
nexxeln May 22, 2026
63f3e84
chore: generate
opencode-agent[bot] May 22, 2026
3cf955e
fix(desktop): correct user code extraction when URL contains colons (…
OpeOginni May 22, 2026
854c535
fix(tui): enable diff viewer by default
thdxr May 22, 2026
d92b8d8
chore: generate
opencode-agent[bot] May 22, 2026
5cf597d
fix(httpapi): return pty error bodies (#28838)
nexxeln May 22, 2026
0003802
chore: generate
opencode-agent[bot] May 22, 2026
8596967
ci: "fix: exempt team members from compliance cleanup" (#28865)
rekram1-node May 22, 2026
59e486a
fix(tui): restore question prompt key handling (#28835)
nexxeln May 22, 2026
700d012
fix(llm): emit structured input_image content for tool-result media i…
kitlangton May 22, 2026
9db90a0
fix(llm): emit structured image blocks for tool-result media in Anthr…
kitlangton May 22, 2026
8a55920
chore: generate
opencode-agent[bot] May 22, 2026
69e4f52
fix(tui): interaction improvements to diff viewer (#28851)
jlongster May 22, 2026
b368e5a
chore: generate
opencode-agent[bot] May 22, 2026
3e1972f
fix(httpapi): return project not found errors (#28856)
nexxeln May 22, 2026
a3430db
chore: generate
opencode-agent[bot] May 22, 2026
d0cb587
fix(llm): surface code, type, and nested fields on provider stream er…
kitlangton May 22, 2026
4f6eaf8
chore: generate
opencode-agent[bot] May 22, 2026
aee552c
fix(repository): type expected reference failures (#28880)
nexxeln May 22, 2026
05f51bf
chore: generate
opencode-agent[bot] May 22, 2026
0e14404
fix(sync): map workspace warp not found (#28882)
nexxeln May 22, 2026
dda69d7
chore: generate
opencode-agent[bot] May 22, 2026
536ee85
fix(installation): type upgrade failures (#28883)
nexxeln May 22, 2026
7265c46
fix(skill): type expected skill failures (#28885)
nexxeln May 22, 2026
d5068ba
chore: generate
opencode-agent[bot] May 22, 2026
ba746e3
fix(tui): empty states, context, and minor improvements to diff viewe…
jlongster May 22, 2026
b8266e5
chore: generate
opencode-agent[bot] May 22, 2026
968aaa3
fix(pty): expose missing session errors (#28884)
nexxeln May 22, 2026
5f42351
fix(provider): type default model failures (#28881)
nexxeln May 22, 2026
1857c73
chore: generate
opencode-agent[bot] May 22, 2026
8f7a6c4
fix(tui): refine diff view keyboard shortcuts (#28896)
jlongster May 22, 2026
bfb2d8d
fix(tui): when diff viewer closes always return to last route (#28903)
jlongster May 22, 2026
1a329e4
chore: generate
opencode-agent[bot] May 22, 2026
871d38c
sync release versions for v1.15.9
May 22, 2026
5ee0238
chore: update nix node_modules hashes
opencode-agent[bot] May 22, 2026
14c511e
fix(llm): stabilize anthropic tool result typecheck (#28909)
rekram1-node May 22, 2026
3bf054c
fix(app): restore desktop prod legacy flows (#28919)
Hona May 23, 2026
2c4ad9f
sync release versions for v1.15.10
May 23, 2026
0cf9a5d
fix(desktop): avoid white flash when restoring window (#28247)
Hona May 23, 2026
a9ef5a0
feat(project): resolve remote-backed project identity (#28914)
thdxr May 23, 2026
7d2c1ce
chore: generate
opencode-agent[bot] May 23, 2026
6b03be5
sync
fwang May 23, 2026
e89cf94
feat: add native session goals
jorgitin02 May 12, 2026
7e8287d
fix: validate oversized goal objectives
jorgitin02 May 13, 2026
07fdcbc
fix: repair goal rebase type handling
jorgitin02 May 13, 2026
e5e5e30
fix: provide goal layer in session tests
jorgitin02 May 13, 2026
1fbf558
fix: harden session goal continuation
jorgitin02 May 13, 2026
1bd1d29
fix: scope goal resume scheduling
jorgitin02 May 15, 2026
926fe58
fix: title sessions created from goals
jorgitin02 May 16, 2026
76a2009
fix: address session goal review feedback
jorgitin02 May 23, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions .github/TEAM_MEMBERS
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@ rekram1-node
thdxr
simonklee
vimtor
starptech
14 changes: 11 additions & 3 deletions .github/actions/setup-bun/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ runs:
fi

- name: Setup Bun
uses: oven-sh/setup-bun@v2
uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2.2.0
with:
bun-version-file: ${{ !steps.bun-url.outputs.url && 'package.json' || '' }}
bun-download-url: ${{ steps.bun-url.outputs.url }}
Expand All @@ -33,8 +33,9 @@ runs:
shell: bash
run: echo "dir=$(bun pm cache)" >> "$GITHUB_OUTPUT"

- name: Cache Bun dependencies
uses: actions/cache@v4
- name: Restore Bun dependencies
id: bun-cache
uses: actions/cache/restore@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
with:
path: ${{ steps.cache.outputs.dir }}
key: ${{ runner.os }}-bun-${{ hashFiles('**/bun.lock') }}
Expand All @@ -56,3 +57,10 @@ runs:
bun install ${{ inputs.install-flags }}
fi
shell: bash

- name: Save Bun dependencies
if: steps.bun-cache.outputs.cache-hit != 'true' && github.event_name != 'pull_request' && github.event_name != 'pull_request_target'
uses: actions/cache/save@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
with:
path: ${{ steps.cache.outputs.dir }}
key: ${{ runner.os }}-bun-${{ hashFiles('**/bun.lock') }}
2 changes: 1 addition & 1 deletion .github/actions/setup-git-committer/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ runs:
steps:
- name: Create app token
id: apptoken
uses: actions/create-github-app-token@v2
uses: actions/create-github-app-token@fee1f7d63c2ff003460e3d139729b119787bc349 # v2.2.2
with:
app-id: ${{ inputs.opencode-app-id }}
private-key: ${{ inputs.opencode-app-secret }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/beta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
pull-requests: write
steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
with:
fetch-depth: 0

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/close-issues.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ jobs:
contents: read
issues: write
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1

- uses: oven-sh/setup-bun@v2
- uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2.2.0
with:
bun-version: latest

Expand Down
50 changes: 50 additions & 0 deletions .github/workflows/close-prs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
name: close-prs

on:
schedule:
- cron: "0 22 * * *" # Daily at 10:00 PM UTC
workflow_dispatch:
inputs:
dry-run:
description: "Log matching PRs without closing them"
type: boolean
default: true
max-close:
description: "Maximum matching PRs to close"
type: string
required: false
default: "50"

jobs:
close:
runs-on: ubuntu-latest
timeout-minutes: 240
permissions:
contents: read
issues: write
pull-requests: write
steps:
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1

- uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2.2.0
with:
bun-version: latest

- name: Close old PRs without enough positive reactions
env:
GITHUB_TOKEN: ${{ github.token }}
run: |
max_close="${{ inputs['max-close'] }}"
if [ -z "$max_close" ]; then
max_close="50"
fi

args=("--threshold" "2" "--age-months" "1" "--sleep-ms" "20000" "--max-close" "$max_close")

if [ "${{ github.event_name }}" = "schedule" ]; then
args+=("--execute")
elif [ "${{ inputs['dry-run'] }}" = "false" ]; then
args+=("--execute")
fi

bun script/github/close-prs.ts "${args[@]}"
235 changes: 0 additions & 235 deletions .github/workflows/close-stale-prs.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/compliance-close.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Close non-compliant issues and PRs after 2 hours
uses: actions/github-script@v7
uses: actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b # v7.1.0
with:
script: |
const { data: items } = await github.rest.issues.listForRepo({
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/containers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,18 +21,18 @@ jobs:
REGISTRY: ghcr.io/${{ github.repository_owner }}
TAG: "24.04"
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1

- uses: ./.github/actions/setup-bun

- name: Set up QEMU
uses: docker/setup-qemu-action@v3
uses: docker/setup-qemu-action@c7c53464625b32c7a7e944ae62b3e17d2b600130 # v3.7.0

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
uses: docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f # v3.12.0

- name: Login to GHCR
uses: docker/login-action@v3
uses: docker/login-action@c94ce9fb468520275223c153574b00df6fe4bcc9 # v3.7.0
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
Expand Down
Loading
Loading