@plainconceptsplatform/workflows 1.20.0 → 1.20.1

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.
@@ -3682,7 +3682,12 @@ if [ -f "$RTP_YML" ] && worker_installed release; then
3682
3682
  RTP_OK=1
3683
3683
  rtp() { grep -qE "$1" "$2" || { RTP_OK=0; echo "FAIL: release to production: $3" >&2; }; }
3684
3684
  rtp 'uses: \./\.github/workflows/agent-release\.lock\.yml' "$RTP_YML" 'the button must run the release worker'
3685
- rtp '^ deploy: "true"$' "$RTP_YML" 'the button must ask the release worker for a deploy'
3685
+ rtp '^ deploy: true$' "$RTP_YML" 'the button must ask the release worker for a deploy'
3686
+ # A boolean on both sides: a quoted "true" passed to a string input is a bool to actionlint, and
3687
+ # every consumer's workflow lint failed on it, a check this repository cannot run without the lock.
3688
+ if ! awk '/^ deploy:$/{f=1;next} f&&/^ [a-z-]+:$/{exit} f&&/type: boolean/{ok=1} END{exit !ok}' "${WORKFLOWS_DIR}/agent-release.md"; then
3689
+ RTP_OK=0; echo "FAIL: release to production: the release worker's deploy input must be a boolean, as the button passes it" >&2
3690
+ fi
3686
3691
  rtp 'default: minor' "$RTP_YML" 'the button must default to a minor bump'
3687
3692
  rtp '^ permissions: write-all$' "$RTP_YML" 'the button must grant the worker write-all, or the run never starts'
3688
3693
  if grep -qE '^ deploy:' "$ROUTER_YML"; then RTP_OK=0; echo "FAIL: release to production: the router's workflow_dispatch is at the ten-input limit; deploy belongs to the button" >&2; fi
@@ -43,8 +43,8 @@ on:
43
43
  deploy:
44
44
  description: "true when release-to-production.yml asked for a deploy: the release PR then carries the deploy marker"
45
45
  required: false
46
- type: string
47
- default: "false"
46
+ type: boolean
47
+ default: false
48
48
 
49
49
  runs-on: agents-arc
50
50
  runs-on-slim: agents-arc
@@ -42,7 +42,7 @@ jobs:
42
42
  permissions: write-all
43
43
  with:
44
44
  version-bump: ${{ inputs.bump }}
45
- deploy: "true"
45
+ deploy: true
46
46
  secrets:
47
47
  OPENAI_API_KEY: ${{ secrets.FORGE_API_KEY }}
48
48
  # The release PR is pushed and opened with the App token so its CI runs; see the worker's conclude.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plainconceptsplatform/workflows",
3
- "version": "1.20.0",
3
+ "version": "1.20.1",
4
4
  "description": "Install and update Platform GitHub agentic workflows.",
5
5
  "keywords": [
6
6
  "github-actions",