Skip to content

feat: add -y/--yes option to skip confirmation prompts#589

Merged
go-to-k merged 4 commits intomainfrom
yes-option
Mar 15, 2026
Merged

feat: add -y/--yes option to skip confirmation prompts#589
go-to-k merged 4 commits intomainfrom
yes-option

Conversation

@go-to-k
Copy link
Copy Markdown
Owner

@go-to-k go-to-k commented Mar 15, 2026

Summary

  • Add -y/--yes CLI option to skip all confirmation prompts (e.g., TerminationProtection disable confirmation)
  • Implement AutoYes flag at the io.GetYesNo level so all current and future prompts are automatically covered
  • Add yes parameter to GitHub Actions action.yml
  • Add -y to e2e_deletion_protection and e2e_deletion_protection_no_tp Makefile targets for full E2E automation
  • Add unit test for GetYesNo with AutoYes

Enable fully automated E2E testing by skipping interactive confirmation
prompts (e.g., TerminationProtection disable confirmation). The option
is implemented at the io.GetYesNo level so all prompts are covered.
Also adds the yes parameter to the GitHub Actions action.yml.
go-to-k added 3 commits March 15, 2026 22:43
CI/CD environments cannot handle interactive prompts, so defaulting
yes to true in the action prevents unexpected hangs.
No TerminationProtection means no confirmation prompt, so -y is not needed.
@go-to-k go-to-k merged commit b8f1e5a into main Mar 15, 2026
5 checks passed
@go-to-k go-to-k deleted the yes-option branch March 15, 2026 13:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant