I have reproduced the issue on the latest CLI version.
Yes, I am on the latest version
I have searched existing posts and this report is not a duplicate.
Yes, this isn’t a duplicate
In which of these areas are you experiencing a problem?
App
Expected behavior
If deployment includes changes that require confirmation, such as deletes, it should what is going to happen if ran with --allow-deletes command.
Actual behavior
App logs:
╭─ info ───────────────────────────────────────────────────────────────────────╮
│ │
│ Using shopify.app.staging.toml for default values: │
│ │
│ • Org: [org name] │
│ • App: [app name] │
│ │
│ You can pass --reset to your command to reset your app configuration. │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
╭─ error ──────────────────────────────────────────────────────────────────────╮
│ │
│ This deployment includes changes that require confirmation. │
│ │
│ Run the command with --allow-deletes to deploy without confirmation. │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
Reproduction steps
Run shopify app deploy --allow-updates
Verbose output
N/A
Operating system
N/A
CLI version
4.8.0