fix(rotate-secret playbook): the script's second confirmation prompt failed the run #115

Merged
jfraeys merged 2 commits from jfraeys/fix/rotate-playbook-force into main 2026-10-13 14:30:46 -04:00
Owner

playbooks/rotate-secret.yml confirms with the operator, then ran rotate-secret.sh without --force unless force_rotation=yes. The script prompted again, found no stdin and exited 1 (seen live: rc=1 after 17 ms, nothing rotated). The playbook now passes --force on a real run (dry-run still passes --dry-run); its own confirmation precedes it.

🤖 Generated with Claude Code

playbooks/rotate-secret.yml confirms with the operator, then ran rotate-secret.sh without --force unless force_rotation=yes. The script prompted again, found no stdin and exited 1 (seen live: rc=1 after 17 ms, nothing rotated). The playbook now passes --force on a real run (dry-run still passes --dry-run); its own confirmation precedes it. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
fix(rotate-secret playbook): pass --force after its own confirmation (the script's prompt has no terminal)
Some checks failed
Lint / lint (pull_request) Has started running
Secret scan / scan (pull_request) Has been cancelled
2daa4ad7a2
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
fix(rotate-secret playbook): refresh the plaintext vault with env bash (macOS /bin/bash 3.2 has no local -n)
All checks were successful
Lint / lint (pull_request) Successful in 1m57s
Secret scan / scan (pull_request) Successful in 11s
43fde2a063
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
jfraeys/infra!115
No description provided.