-
Notifications
You must be signed in to change notification settings - Fork 15
OpenCode v1.1.43 #103
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OpenCode v1.1.43 #103
Changes from all commits
18bfc74
8b17ac6
de3b654
319ad2a
97aec21
04337f6
d4e3acf
36b8328
810bc01
e0e97e9
9346c1a
7c96d70
6f3d413
ecd04a1
0a572af
92229b4
7caf59b
3ac11df
7962ff3
c551f7e
0f4a10f
d9a61cd
0dcb850
0e08c6c
f4392e0
9babdb8
fca0825
99cd7f3
2be4598
010ed55
c6febd8
3f9b59c
5a16d99
ae815cc
c700b92
6a62b44
8b5dde5
cbe8f26
d82e94c
b21f82f
7b3d5f1
9d1cf98
a77df3c
c1e840b
8b6484a
53ac394
ccc7aa4
45b09c1
77f11df
b07d7cd
021d9d1
4075f9e
bb178e9
3657747
8371ba5
6897bb7
b24fd90
bf463ae
64a3661
e7c6267
7655f51
d9e8b2b
b59aec6
6cf2c3e
a8c18db
213c0e1
dd1624e
ddffb34
b6565c6
c0a5f85
58b9b54
2180be2
1f93138
743e83d
095328f
b4e0cdb
3862b1a
03b9317
ebfa2b5
52387e7
2d0049f
c68261f
ad624f6
3e420bf
c7e2f19
27bb827
19c7874
c3d8d2b
3297e52
eac2d4c
099ab92
00e7921
712d2b7
d8e7e91
dbc8d7e
0aa9337
f12f7e7
8c00818
173faca
2f5a238
06e3c4a
b9edd23
07d84fe
e2c5773
7de42ca
6284565
32ce0f4
bb63d16
2649dca
df8b23d
8206895
8ee5376
2ca69ac
1fffbc6
d15201d
18d6c21
00c7729
f2bf620
892113a
d7948c2
1ebf63c
842f17d
acf0df1
51edf68
e5b1867
1d5ee3e
95632d8
b8e7265
33d400c
605e533
13b2587
5c8580a
d17ba84
df7f9ae
15ffd3c
b4a9e1b
898118b
d974186
e3be4c9
7988f52
5f2a7c6
b73e024
6da9fb8
aedd760
427cc3e
63f5669
9a8da20
28e5557
026b3cc
d76e144
5585907
3bb1077
5a0b3ee
f97197b
6eb2bdd
8798a77
6650aa6
2f35c40
bdfd8f8
8faa2ff
65e1186
c9bbea4
acb92fc
bc4968a
775d288
4f60ea6
57ad181
26e14ce
af3c97f
f607353
8c05eb2
4e41ca7
c60464d
7b561be
9424f82
36df0d8
40d5d14
832bbba
33dc70b
90a7e3d
e5b33f8
7ad165f
0c8de47
4d2696e
a9e757b
8cdb820
a7d7f5b
d8fe12a
427ef95
b937fe9
870c38a
29ea9fc
9cfdbbb
b938e1e
efc9303
f40bdd1
121016a
58ba486
e84d92d
41ea469
0fabdcc
33c5c10
92eb982
7c0067d
2af3266
c946f5f
82717f6
571751c
008ad54
03ba49a
301895c
d5c59a6
aa92ef3
5a56e81
45ec310
8dedb3f
f996e05
ae9199e
9ed3b07
a9a7595
cf5cf7b
a92b792
33311e9
cd4075f
fdd484d
aa1d0f6
2125dc1
6cc7397
75166a1
b5ffa99
8ce19f8
b352658
4c82ad6
4f4694d
a5c01a8
bbc7bdb
6131bb3
88f0639
2d1bcac
b54514e
a3cdff9
179ca8e
4298d97
8a4de31
865e421
9a04c7e
26f911d
60f5d04
017b6d0
b93ad87
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,37 @@ | ||
| name: beta | ||
|
|
||
| on: | ||
| push: | ||
| branches: [dev] | ||
| pull_request: | ||
| types: [opened, synchronize, labeled, unlabeled] | ||
|
|
||
| jobs: | ||
| sync: | ||
| # kilocode_change start - disabled for kilo-cli fork (OpenCode Discord integration) | ||
| if: false | ||
| # if: | | ||
| # github.event_name == 'push' || | ||
| # (github.event_name == 'pull_request' && | ||
| # contains(github.event.pull_request.labels.*.name, 'contributor')) | ||
| # kilocode_change end | ||
| runs-on: blacksmith-4vcpu-ubuntu-2404 | ||
| permissions: | ||
| contents: write | ||
| pull-requests: read | ||
| steps: | ||
| - name: Checkout repository | ||
| uses: actions/checkout@v4 | ||
|
|
||
| - name: Setup Bun | ||
| uses: ./.github/actions/setup-bun | ||
|
|
||
| - name: Configure Git | ||
| run: | | ||
| git config user.name "github-actions[bot]" | ||
| git config user.email "github-actions[bot]@users.noreply.github.com" | ||
|
|
||
| - name: Sync beta branch | ||
| env: | ||
| GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
| run: bun script/beta.ts | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,4 @@ | ||
| name: Daily Issues Recap | ||
| name: daily-issues-recap | ||
|
|
||
| on: | ||
| schedule: | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,4 @@ | ||
| name: Daily PR Recap | ||
| name: daily-pr-recap | ||
|
|
||
| on: | ||
| schedule: | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,4 @@ | ||
| name: Docs Update | ||
| name: docs-update | ||
|
|
||
| on: | ||
| schedule: | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,4 @@ | ||
| name: Duplicate Issue Detection | ||
| name: duplicate-issues | ||
|
|
||
| on: | ||
| issues: | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -4,10 +4,14 @@ on: | |
| push: | ||
| branches: | ||
| - dev | ||
| pull_request: | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. WARNING: This workflow later runs |
||
| workflow_dispatch: | ||
|
|
||
| jobs: | ||
| generate: | ||
| # kilocode_change start - disabled for kilo-cli fork (OpenCode Discord integration) | ||
| if: false | ||
| # kilocode_change end | ||
| runs-on: depot-ubuntu-24.04-4 | ||
| permissions: | ||
| contents: write | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,4 @@ | ||
| name: discord | ||
| name: notify-discord | ||
|
|
||
| on: | ||
| release: | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,4 @@ | ||
| name: Duplicate PR Check | ||
| name: pr-management | ||
|
|
||
| on: | ||
| pull_request_target: | ||
|
|
@@ -67,3 +67,26 @@ jobs: | |
| gh pr comment "$PR_NUMBER" --body "_The following comment was made by an LLM, it may be inaccurate:_ | ||
|
|
||
| $COMMENT" | ||
|
|
||
| add-contributor-label: | ||
| runs-on: ubuntu-latest | ||
| permissions: | ||
| pull-requests: write | ||
| issues: write | ||
| steps: | ||
| - name: Add Contributor Label | ||
| uses: actions/github-script@v8 | ||
| with: | ||
| script: | | ||
| const isPR = !!context.payload.pull_request; | ||
| const issueNumber = isPR ? context.payload.pull_request.number : context.payload.issue.number; | ||
| const authorAssociation = isPR ? context.payload.pull_request.author_association : context.payload.issue.author_association; | ||
|
|
||
| if (authorAssociation === 'CONTRIBUTOR') { | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. WARNING: Contributor label condition likely misses most external PR authors
|
||
| await github.rest.issues.addLabels({ | ||
| owner: context.repo.owner, | ||
| repo: context.repo.repo, | ||
| issue_number: issueNumber, | ||
| labels: ['contributor'] | ||
| }); | ||
| } | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,4 @@ | ||
| name: PR Standards | ||
| name: pr-standards | ||
|
|
||
| on: | ||
| pull_request_target: | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,4 @@ | ||
| name: Guidelines Check | ||
| name: review | ||
|
|
||
| on: | ||
| issue_comment: | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,4 @@ | ||
| name: "Auto-close stale issues" | ||
| name: stale-issues | ||
|
|
||
| on: | ||
| schedule: | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,4 @@ | ||
| name: Issue Triage | ||
| name: triage | ||
|
|
||
| on: | ||
| issues: | ||
|
|
||
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -101,5 +101,6 @@ | |
| }, | ||
| "patchedDependencies": { | ||
| "ghostty-web@0.3.0": "patches/ghostty-web@0.3.0.patch" | ||
| } | ||
| }, | ||
| "version": "1.0.13" | ||
| } | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
WARNING:
pull_requesttrigger likely can't write/push tobeta(and may be unsafe if it ever can)This job needs
contents: writeand runsbun script/beta.tswhich force-pushes thebetabranch. Onpull_requestevents from forks,GITHUB_TOKENis typically read-only and secrets are unavailable, so this workflow usually can't push. If the intent is to run the sync when a maintainer-applied label is present,pull_request_target+ a safe checkout strategy (avoid executing PR code) is usually the workable pattern.