code-foundry 0.20.1 → 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.
@@ -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,12 @@
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
+
3
10
  ## [0.20.1](https://github.com/0xPlayerOne/code-foundry/compare/v0.20.0...v0.20.1) (2026-07-28)
4
11
 
5
12
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "code-foundry",
3
- "version": "0.20.1",
3
+ "version": "0.20.2",
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",