Skip to content

Commit bc09169

Browse files
Merge branch 'anomalyco:dev' into feat/hot-reload-smooth
2 parents ce529a2 + 958320f commit bc09169

179 files changed

Lines changed: 8136 additions & 5154 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/pr-management.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,11 @@ jobs:
6060
run: |
6161
COMMENT=$(bun script/duplicate-pr.ts -f pr_info.txt "Check the attached file for PR details and search for duplicates")
6262
63-
gh pr comment "$PR_NUMBER" --body "_The following comment was made by an LLM, it may be inaccurate:_
63+
if [ "$COMMENT" != "No duplicate PRs found" ]; then
64+
gh pr comment "$PR_NUMBER" --body "_The following comment was made by an LLM, it may be inaccurate:_
6465
6566
$COMMENT"
67+
fi
6668
6769
add-contributor-label:
6870
runs-on: ubuntu-latest

.github/workflows/sign-cli.yml

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
name: sign-cli
2+
3+
on:
4+
push:
5+
branches:
6+
- brendan/desktop-signpath
7+
workflow_dispatch:
8+
9+
permissions:
10+
contents: read
11+
actions: read
12+
13+
jobs:
14+
sign-cli:
15+
runs-on: blacksmith-4vcpu-ubuntu-2404
16+
if: github.repository == 'anomalyco/opencode'
17+
steps:
18+
- uses: actions/checkout@v3
19+
with:
20+
fetch-tags: true
21+
22+
- uses: ./.github/actions/setup-bun
23+
24+
- name: Build
25+
run: |
26+
./packages/opencode/script/build.ts
27+
28+
- name: Upload unsigned Windows CLI
29+
id: upload_unsigned_windows_cli
30+
uses: actions/upload-artifact@v4
31+
with:
32+
name: unsigned-opencode-windows-cli
33+
path: packages/opencode/dist/opencode-windows-x64/bin/opencode.exe
34+
if-no-files-found: error
35+
36+
- name: Submit SignPath signing request
37+
id: submit_signpath_signing_request
38+
uses: signpath/github-action-submit-signing-request@v1
39+
with:
40+
api-token: ${{ secrets.SIGNPATH_API_KEY }}
41+
organization-id: ${{ secrets.SIGNPATH_ORGANIZATION_ID }}
42+
project-slug: ${{ secrets.SIGNPATH_PROJECT_SLUG }}
43+
signing-policy-slug: ${{ secrets.SIGNPATH_SIGNING_POLICY_SLUG }}
44+
artifact-configuration-slug: ${{ secrets.SIGNPATH_ARTIFACT_CONFIGURATION_SLUG }}
45+
github-artifact-id: ${{ steps.upload_unsigned_windows_cli.outputs.artifact-id }}
46+
wait-for-completion: true
47+
output-artifact-directory: signed-opencode-cli
48+
49+
- name: Upload signed Windows CLI
50+
uses: actions/upload-artifact@v4
51+
with:
52+
name: signed-opencode-windows-cli
53+
path: signed-opencode-cli/*.exe
54+
if-no-files-found: error
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
github-policies:
2+
runners:
3+
allowed_groups:
4+
- "blacksmith runners 01kbd5v56sg8tz7rea39b7ygpt"
5+
build:
6+
disallow_reruns: false
7+
branch_rulesets:

bun.lock

Lines changed: 24 additions & 42 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

logs/.2c5480b3b2480f80fa29b850af461dce619c0b2f-audit.json

Lines changed: 0 additions & 15 deletions
This file was deleted.

0 commit comments

Comments
 (0)