code-foundry 0.31.15 → 0.31.17
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.
- package/.github/workflows/ci_self-ci.yml +1 -1
- package/.github/workflows/codeql_self-ci.yml +1 -1
- package/.github/workflows/opencode-security_self-ci.yml +1 -1
- package/.github/workflows/release-pr_self-ci.yml +0 -44
- package/.github/workflows/security_self-ci.yml +1 -1
- package/.github/workflows/test_self-ci.yml +1 -1
- package/CHANGELOG.md +15 -0
- package/docs/WORKFLOWS.md +1 -1
- package/package.json +1 -1
- package/src/commands/sync.mjs +3 -0
- package/src/lib/release-manifest.mjs +3 -0
|
@@ -8,11 +8,8 @@ on:
|
|
|
8
8
|
workflow_dispatch:
|
|
9
9
|
|
|
10
10
|
permissions:
|
|
11
|
-
actions: read
|
|
12
11
|
contents: read
|
|
13
12
|
pull-requests: write
|
|
14
|
-
packages: read
|
|
15
|
-
security-events: write
|
|
16
13
|
|
|
17
14
|
jobs:
|
|
18
15
|
release-pr:
|
|
@@ -25,44 +22,3 @@ jobs:
|
|
|
25
22
|
with:
|
|
26
23
|
runner: ubuntu-slim
|
|
27
24
|
secrets: inherit
|
|
28
|
-
|
|
29
|
-
ci:
|
|
30
|
-
if: github.event_name == 'pull_request' && startsWith(github.head_ref, 'release-please--branches--main')
|
|
31
|
-
name: CI
|
|
32
|
-
uses: ./.github/workflows/ci.yml
|
|
33
|
-
with:
|
|
34
|
-
runtime-repository: 0xPlayerOne/code-foundry
|
|
35
|
-
runtime-ref: ${{ github.sha }}
|
|
36
|
-
runner: ubuntu-latest
|
|
37
|
-
secrets: inherit
|
|
38
|
-
|
|
39
|
-
test:
|
|
40
|
-
if: github.event_name == 'pull_request' && startsWith(github.head_ref, 'release-please--branches--main')
|
|
41
|
-
name: Test
|
|
42
|
-
uses: ./.github/workflows/test.yml
|
|
43
|
-
with:
|
|
44
|
-
runtime-repository: 0xPlayerOne/code-foundry
|
|
45
|
-
runtime-ref: ${{ github.sha }}
|
|
46
|
-
runner: ubuntu-latest
|
|
47
|
-
unit-runner: ubuntu-slim
|
|
48
|
-
secrets: inherit
|
|
49
|
-
|
|
50
|
-
security:
|
|
51
|
-
if: github.event_name == 'pull_request' && startsWith(github.head_ref, 'release-please--branches--main')
|
|
52
|
-
name: Security
|
|
53
|
-
uses: ./.github/workflows/security.yml
|
|
54
|
-
with:
|
|
55
|
-
runtime-repository: 0xPlayerOne/code-foundry
|
|
56
|
-
runtime-ref: ${{ github.sha }}
|
|
57
|
-
runner: ubuntu-slim
|
|
58
|
-
secrets: inherit
|
|
59
|
-
|
|
60
|
-
codeql:
|
|
61
|
-
if: github.event_name == 'pull_request' && startsWith(github.head_ref, 'release-please--branches--main')
|
|
62
|
-
name: CodeQL
|
|
63
|
-
uses: ./.github/workflows/codeql.yml
|
|
64
|
-
with:
|
|
65
|
-
runtime-repository: 0xPlayerOne/code-foundry
|
|
66
|
-
runtime-ref: ${{ github.sha }}
|
|
67
|
-
runner: ubuntu-latest
|
|
68
|
-
secrets: inherit
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.31.17](https://github.com/0xPlayerOne/code-foundry/compare/v0.31.16...v0.31.17) (2026-07-30)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* **sync:** preserve repository release policy ([8a8291b](https://github.com/0xPlayerOne/code-foundry/commit/8a8291b940bcc777e4aa9a426e56235b031fd002))
|
|
9
|
+
|
|
10
|
+
## [0.31.16](https://github.com/0xPlayerOne/code-foundry/compare/v0.31.15...v0.31.16) (2026-07-30)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Bug Fixes
|
|
14
|
+
|
|
15
|
+
* **release:** avoid duplicate release PR checks ([42d7354](https://github.com/0xPlayerOne/code-foundry/commit/42d735404cd7b77d5a30a03a4fb8856096e931b0))
|
|
16
|
+
* **workflows:** validate main promotion PRs ([4f41f90](https://github.com/0xPlayerOne/code-foundry/commit/4f41f90a3e4a5eec8e80d46c21083c1380655341))
|
|
17
|
+
|
|
3
18
|
## [0.31.15](https://github.com/0xPlayerOne/code-foundry/compare/v0.31.14...v0.31.15) (2026-07-30)
|
|
4
19
|
|
|
5
20
|
|
package/docs/WORKFLOWS.md
CHANGED
package/package.json
CHANGED
package/src/commands/sync.mjs
CHANGED
|
@@ -225,6 +225,9 @@ function renderWorkflow(content, config, repository, ref, rustCodeql) {
|
|
|
225
225
|
const workflow = content.match(/\.github\/workflows\/([^/]+)\.yml/)?.[1]
|
|
226
226
|
const runner = workflow ? runners[workflow] : undefined
|
|
227
227
|
if (runner) rendered = rendered.replace(/^(\s+runner:)\s+.*$/m, `$1 ${runner}`)
|
|
228
|
+
if (workflow === 'test' && config.unit_runner) {
|
|
229
|
+
rendered = rendered.replace(/^(\s+unit-runner:)\s+.*$/m, `$1 ${config.unit_runner}`)
|
|
230
|
+
}
|
|
228
231
|
if (workflow === 'codeql') {
|
|
229
232
|
rendered = rendered.replace(/^(\s+rust-shards:)\s+.*$/m, `$1 '${rustCodeql.shards}'`)
|
|
230
233
|
rendered = rendered.replace(/^(\s+rust-threads:)\s+.*$/m, `$1 '${rustCodeql.threads}'`)
|
|
@@ -36,6 +36,9 @@ export function buildReleaseConfig(root, existing = {}) {
|
|
|
36
36
|
const packages = detectReleasePackages(root)
|
|
37
37
|
const result = { ...existing }
|
|
38
38
|
if (!packages.length) return result
|
|
39
|
+
// An explicit packages map is repository policy. Do not silently turn
|
|
40
|
+
// version-synchronized subprojects or vendored manifests into releases.
|
|
41
|
+
if (Object.prototype.hasOwnProperty.call(existing, 'packages')) return result
|
|
39
42
|
if (packages.length === 1 && packages[0].directory === '.') {
|
|
40
43
|
result['release-type'] ??= packages[0].releaseType
|
|
41
44
|
/** @type {any[]} */
|