You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Feature]: create-playwright --no-gha option for AI-agent-friendly non-interactive setup聽#39987
Add a --no-gha option to create-playwright so callers can skip GitHub Actions workflow generation non-interactively.
This is especially useful for AI agents running setup CLIs. If an agent provides explicit scaffold flags but still hits an Add a GitHub Actions workflow? prompt, the setup flow becomes brittle. Agents sometimes answer prompts incorrectly or fail to continue, then fall back to generating project files from stale model knowledge instead of using the official generator.
There is already a related implementation attempt here:
skip the interactive Add a GitHub Actions workflow? prompt
continue scaffolding without creating the workflow
Motivation
Official CLIs work better for AI agents when all meaningful setup choices can be expressed as flags. Deterministic, non-interactive runs reduce prompt handling failures and make it more likely that agents keep using current Playwright defaults instead of scaffolding projects themselves.
Next.js recently moved create-next-app in the same direction so explicit CLI flags can avoid interactive prompts and remain agent-friendly:
Activity
Skn0tt commentedon Apr 2, 2026
Folding into #39986
karlhorky commentedon Jun 26, 2026
This wasn't actually resolved by #39986 or microsoft/create-playwright#172
There may be an option over here: