Skip to content

feat: enable non-interactive mode for CI or non-tty environments - #7743

Merged
rfay merged 1 commit into
ddev:mainfrom
stasadev:20251022_stasadev_non_interactive
Oct 23, 2025
Merged

rfay merged 1 commit into
ddev:mainfrom
stasadev:20251022_stasadev_non_interactive

Conversation

@stasadev

@stasadev stasadev commented Oct 22, 2025 •

Copy link
Copy Markdown
Member

The Issue

CI=true should be enough for non-interactive mode.

How This PR Solves The Issue

  • Sets non-interactive mode for CI=true
  • Sets non-interactive mode for non-tty (this check is disabled in tests, because we mock stdin there)
  • Adds missing --yes flag to ddev clean

Manual Testing Instructions

Try:

CI=true ddev clean
CI=true ddev clean --yes

Automated Testing Overview

Release/Deployment Notes

@github-actions

Copy link
Copy Markdown

@stasadev
stasadev marked this pull request as ready for review October 23, 2025 18:13
@stasadev
stasadev requested review from a team as code owners October 23, 2025 18:13

@rfay rfay left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works for me.

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.

2 participants