code-foundry 0.20.0 → 0.20.2
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/scripts/sync-template.sh +1 -1
- package/.github/workflows/ci.yml +2 -2
- package/.github/workflows/codeql.yml +2 -2
- package/.github/workflows/draft-pr.yml +1 -1
- package/.github/workflows/release-pr.yml +1 -1
- package/.github/workflows/release.yml +1 -1
- package/.github/workflows/reusable-ci.yml +1 -1
- package/.github/workflows/reusable-codeql.yml +1 -1
- package/.github/workflows/reusable-release-pr.yml +8 -1
- package/.github/workflows/reusable-security.yml +1 -1
- package/.github/workflows/reusable-test.yml +1 -1
- package/.github/workflows/security.yml +2 -2
- package/.github/workflows/test.yml +2 -2
- package/CHANGELOG.md +15 -0
- package/package.json +1 -1
|
@@ -378,7 +378,7 @@ if [ -f "$template_root/.github/template.yml" ]; then
|
|
|
378
378
|
source_runtime_repository="$(awk -F': ' '/^runtime_repository:/ {print $2; exit}' "$template_root/.github/template.yml")"
|
|
379
379
|
fi
|
|
380
380
|
[ -n "$source_runtime_repository" ] || source_runtime_repository="0xPlayerOne/code-foundry"
|
|
381
|
-
for file in .github/workflows/ci.yml .github/workflows/test.yml .github/workflows/security.yml .github/workflows/codeql.yml .github/workflows/draft-pr.yml .github/workflows/release-pr.yml; do
|
|
381
|
+
for file in .github/workflows/ci.yml .github/workflows/test.yml .github/workflows/security.yml .github/workflows/codeql.yml .github/workflows/draft-pr.yml .github/workflows/release-pr.yml .github/workflows/release.yml; do
|
|
382
382
|
[ -f "$file" ] || continue
|
|
383
383
|
if grep -qF "$source_runtime_repository" "$file" && [ "$source_runtime_repository" != "$runtime_repository" ]; then
|
|
384
384
|
changed=$((changed + 1))
|
package/.github/workflows/ci.yml
CHANGED
|
@@ -13,8 +13,8 @@ permissions:
|
|
|
13
13
|
jobs:
|
|
14
14
|
ci:
|
|
15
15
|
name: CI
|
|
16
|
-
uses: 0xPlayerOne/code-foundry/.github/workflows/reusable-ci.yml@v0.
|
|
16
|
+
uses: 0xPlayerOne/code-foundry/.github/workflows/reusable-ci.yml@v0.20.0
|
|
17
17
|
with:
|
|
18
18
|
runtime-repository: 0xPlayerOne/code-foundry
|
|
19
|
-
runtime-ref: v0.
|
|
19
|
+
runtime-ref: v0.20.0
|
|
20
20
|
secrets: inherit
|
|
@@ -18,8 +18,8 @@ permissions:
|
|
|
18
18
|
jobs:
|
|
19
19
|
codeql:
|
|
20
20
|
name: CodeQL
|
|
21
|
-
uses: 0xPlayerOne/code-foundry/.github/workflows/reusable-codeql.yml@v0.
|
|
21
|
+
uses: 0xPlayerOne/code-foundry/.github/workflows/reusable-codeql.yml@v0.20.0
|
|
22
22
|
with:
|
|
23
23
|
runtime-repository: 0xPlayerOne/code-foundry
|
|
24
|
-
runtime-ref: v0.
|
|
24
|
+
runtime-ref: v0.20.0
|
|
25
25
|
secrets: inherit
|
|
@@ -30,10 +30,17 @@ jobs:
|
|
|
30
30
|
--head staging \
|
|
31
31
|
--state open \
|
|
32
32
|
--json number | jq 'length')
|
|
33
|
+
COMPARE_URL="repos/${GITHUB_REPOSITORY}/compare/main...staging"
|
|
34
|
+
TOTAL_COMMITS=$(gh api "$COMPARE_URL?per_page=1" --jq '.total_commits // 0')
|
|
33
35
|
echo "existing=$EXISTING" >> "$GITHUB_OUTPUT"
|
|
36
|
+
echo "commits=$TOTAL_COMMITS" >> "$GITHUB_OUTPUT"
|
|
37
|
+
|
|
38
|
+
- name: No changes
|
|
39
|
+
if: steps.check-pr.outputs.existing == '0' && steps.check-pr.outputs.commits == '0'
|
|
40
|
+
run: echo 'staging is already aligned with main; no promotion PR is needed.'
|
|
34
41
|
|
|
35
42
|
- name: Create
|
|
36
|
-
if: steps.check-pr.outputs.existing == '0'
|
|
43
|
+
if: steps.check-pr.outputs.existing == '0' && steps.check-pr.outputs.commits != '0'
|
|
37
44
|
run: |
|
|
38
45
|
DATE=$(date +%Y-%m-%d)
|
|
39
46
|
BODY_FILE="$RUNNER_TEMP/release-pr.md"
|
|
@@ -13,8 +13,8 @@ permissions:
|
|
|
13
13
|
jobs:
|
|
14
14
|
security:
|
|
15
15
|
name: Security
|
|
16
|
-
uses: 0xPlayerOne/code-foundry/.github/workflows/reusable-security.yml@v0.
|
|
16
|
+
uses: 0xPlayerOne/code-foundry/.github/workflows/reusable-security.yml@v0.20.0
|
|
17
17
|
with:
|
|
18
18
|
runtime-repository: 0xPlayerOne/code-foundry
|
|
19
|
-
runtime-ref: v0.
|
|
19
|
+
runtime-ref: v0.20.0
|
|
20
20
|
secrets: inherit
|
|
@@ -13,8 +13,8 @@ permissions:
|
|
|
13
13
|
jobs:
|
|
14
14
|
test:
|
|
15
15
|
name: Test
|
|
16
|
-
uses: 0xPlayerOne/code-foundry/.github/workflows/reusable-test.yml@v0.
|
|
16
|
+
uses: 0xPlayerOne/code-foundry/.github/workflows/reusable-test.yml@v0.20.0
|
|
17
17
|
with:
|
|
18
18
|
runtime-repository: 0xPlayerOne/code-foundry
|
|
19
|
-
runtime-ref: v0.
|
|
19
|
+
runtime-ref: v0.20.0
|
|
20
20
|
secrets: inherit
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.20.2](https://github.com/0xPlayerOne/code-foundry/compare/v0.20.1...v0.20.2) (2026-07-28)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* **release-pr:** skip empty promotions ([7c3b21b](https://github.com/0xPlayerOne/code-foundry/commit/7c3b21b19e03ac8319b1217d4e3d0d8a6f0e2317))
|
|
9
|
+
|
|
10
|
+
## [0.20.1](https://github.com/0xPlayerOne/code-foundry/compare/v0.20.0...v0.20.1) (2026-07-28)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Bug Fixes
|
|
14
|
+
|
|
15
|
+
* **workflows:** align callers with current runtime ([11629d3](https://github.com/0xPlayerOne/code-foundry/commit/11629d32b4c41a8bfd1ff8fdaa5638c43236e889))
|
|
16
|
+
* **workflows:** correct release caller indentation ([2688ca9](https://github.com/0xPlayerOne/code-foundry/commit/2688ca924552c9537151e76f486f6485bd4fb0d9))
|
|
17
|
+
|
|
3
18
|
## [0.20.0](https://github.com/0xPlayerOne/code-foundry/compare/v0.19.0...v0.20.0) (2026-07-28)
|
|
4
19
|
|
|
5
20
|
|
package/package.json
CHANGED