code-foundry 0.31.9 → 0.31.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -39,7 +39,7 @@ jobs:
|
|
|
39
39
|
if: needs.detect.outputs.enabled == 'true' && needs.detect.outputs.token == 'true'
|
|
40
40
|
uses: 0xPlayerOne/opencode-security/.github/workflows/opencode-security.yml@main
|
|
41
41
|
with:
|
|
42
|
-
source_ref: main
|
|
42
|
+
source_ref: ${{ github.event.pull_request.head.ref || 'main' }}
|
|
43
43
|
runner: ubuntu-latest
|
|
44
44
|
mode: standard
|
|
45
45
|
fail_on_severity: high
|
package/.prettierignore
ADDED
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.31.11](https://github.com/0xPlayerOne/code-foundry/compare/v0.31.10...v0.31.11) (2026-07-30)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* **package:** include prettier ignore baseline ([4cf91e1](https://github.com/0xPlayerOne/code-foundry/commit/4cf91e1d0ec6b53e3751469937b44f903ef09466))
|
|
9
|
+
|
|
10
|
+
## [0.31.10](https://github.com/0xPlayerOne/code-foundry/compare/v0.31.9...v0.31.10) (2026-07-30)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Bug Fixes
|
|
14
|
+
|
|
15
|
+
* **opencode:** avoid duplicate self checks ([71b1201](https://github.com/0xPlayerOne/code-foundry/commit/71b1201baf58624401676b99fa257780b1eb1abc))
|
|
16
|
+
|
|
3
17
|
## [0.31.9](https://github.com/0xPlayerOne/code-foundry/compare/v0.31.8...v0.31.9) (2026-07-30)
|
|
4
18
|
|
|
5
19
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "code-foundry",
|
|
3
|
-
"version": "0.31.
|
|
3
|
+
"version": "0.31.11",
|
|
4
4
|
"description": "A fast, language-aware repository factory for agent-ready workflows, testing, security, and release automation.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "AGPL-3.0-or-later",
|
|
@@ -28,6 +28,7 @@
|
|
|
28
28
|
"release-please-config.json",
|
|
29
29
|
".mise.toml",
|
|
30
30
|
".prettierrc",
|
|
31
|
+
".prettierignore",
|
|
31
32
|
".env.example",
|
|
32
33
|
"AGENTS.md",
|
|
33
34
|
"LICENSE",
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
name: Code Foundry
|
|
2
|
-
|
|
3
|
-
on:
|
|
4
|
-
pull_request:
|
|
5
|
-
branches: [staging]
|
|
6
|
-
workflow_dispatch:
|
|
7
|
-
|
|
8
|
-
permissions:
|
|
9
|
-
contents: read
|
|
10
|
-
|
|
11
|
-
jobs:
|
|
12
|
-
detect:
|
|
13
|
-
name: OpenCode Security / Detect
|
|
14
|
-
if: >-
|
|
15
|
-
github.event_name == 'workflow_dispatch' ||
|
|
16
|
-
startsWith(github.event.pull_request.head.ref, 'release-please--branches--main')
|
|
17
|
-
runs-on: ubuntu-slim
|
|
18
|
-
outputs:
|
|
19
|
-
enabled: ${{ steps.detect.outputs.enabled }}
|
|
20
|
-
token: ${{ steps.detect.outputs.token }}
|
|
21
|
-
steps:
|
|
22
|
-
- name: Checkout
|
|
23
|
-
uses: actions/checkout@v7
|
|
24
|
-
- name: Detect configuration and token
|
|
25
|
-
id: detect
|
|
26
|
-
env:
|
|
27
|
-
OPENCODE_API_KEY: ${{ secrets.OPENCODE_API_KEY }}
|
|
28
|
-
run: |
|
|
29
|
-
enabled=false
|
|
30
|
-
token=false
|
|
31
|
-
if grep -Eq '^opencode_security:\s*(true|auto)\s*$' .github/code-foundry.yml 2>/dev/null; then enabled=true; fi
|
|
32
|
-
if [ -n "$OPENCODE_API_KEY" ]; then token=true; fi
|
|
33
|
-
echo "enabled=$enabled" >> "$GITHUB_OUTPUT"
|
|
34
|
-
echo "token=$token" >> "$GITHUB_OUTPUT"
|
|
35
|
-
|
|
36
|
-
scan:
|
|
37
|
-
name: OpenCode Security / Scan
|
|
38
|
-
needs: detect
|
|
39
|
-
if: needs.detect.outputs.enabled == 'true' && needs.detect.outputs.token == 'true'
|
|
40
|
-
uses: 0xPlayerOne/opencode-security/.github/workflows/opencode-security.yml@main
|
|
41
|
-
with:
|
|
42
|
-
source_ref: main
|
|
43
|
-
runner: ubuntu-latest
|
|
44
|
-
mode: standard
|
|
45
|
-
fail_on_severity: high
|
|
46
|
-
max_cost_usd: 1
|
|
47
|
-
secrets:
|
|
48
|
-
OPENCODE_API_KEY: ${{ secrets.OPENCODE_API_KEY }}
|