File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -165,7 +165,9 @@ jobs:
165165 else
166166 echo "ℹ️ prune_cookiecutter_json.py or deprecated.json not found; skipping prune."
167167 fi
168-
168+
169+ jq -e '.cookiecutter.include_audit | (type=="boolean")' /tmp/template-source/.cookiecutter.json > /dev/null
170+
169171 echo "=== After copy/prune: /tmp/template-source/.cookiecutter.json ==="
170172 cat /tmp/template-source/.cookiecutter.json
171173
@@ -190,24 +192,7 @@ jobs:
190192 --replay-file /tmp/template-source/.cookiecutter.json \
191193 --overwrite-if-exists \
192194 --output-dir /tmp/rendered
193-
194- DIR=$(ls /tmp/rendered | head -n 1 || true)
195- if [ -z "$DIR" ]; then
196- echo "::error ::No rendered output found"
197- exit 1
198- fi
199-
200- echo "dir=$DIR" >> "$GITHUB_OUTPUT"
201-
202- DIR=$(ls /tmp/rendered | head -n 1 || true)
203-
204- if [ -z "$DIR" ]; then
205- echo "::error ::No rendered output found"
206- exit 1
207- fi
208-
209- echo "dir=$DIR" >> "$GITHUB_OUTPUT"
210-
195+
211196 - name : Create update branch
212197 shell : bash
213198 run : |
You can’t perform that action at this time.
0 commit comments