code-foundry 0.20.1 → 0.20.3
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.
|
@@ -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"
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.20.3](https://github.com/0xPlayerOne/code-foundry/compare/v0.20.2...v0.20.3) (2026-07-28)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* **release-pr:** pin no-op runtime ([af662ef](https://github.com/0xPlayerOne/code-foundry/commit/af662ef7206269f03438bc3983878024629f6056))
|
|
9
|
+
|
|
10
|
+
## [0.20.2](https://github.com/0xPlayerOne/code-foundry/compare/v0.20.1...v0.20.2) (2026-07-28)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Bug Fixes
|
|
14
|
+
|
|
15
|
+
* **release-pr:** skip empty promotions ([7c3b21b](https://github.com/0xPlayerOne/code-foundry/commit/7c3b21b19e03ac8319b1217d4e3d0d8a6f0e2317))
|
|
16
|
+
|
|
3
17
|
## [0.20.1](https://github.com/0xPlayerOne/code-foundry/compare/v0.20.0...v0.20.1) (2026-07-28)
|
|
4
18
|
|
|
5
19
|
|
package/package.json
CHANGED