Skip to content

Publish to environment error preference#2176

Draft
spetersenms wants to merge 3 commits intomicrosoft:mainfrom
spetersenms:publishToEnvironmentErrorPreference
Draft

Publish to environment error preference#2176
spetersenms wants to merge 3 commits intomicrosoft:mainfrom
spetersenms:publishToEnvironmentErrorPreference

Conversation

@spetersenms
Copy link
Contributor

@spetersenms spetersenms commented Mar 20, 2026

❔What, Why & How

New error preference setting to allow users to select what should happen if the selected environments in Publish to Environment are all excluded by branch policies or rules. Default and current behavior is to ignore, New options includes a warning, and error which will fail the workflow.

Related to issue: #2147

✅ Checklist

  • Add tests (E2E, unit tests)
  • Update RELEASENOTES.md
  • Update documentation (e.g. for new settings or scenarios)
  • Add telemetry

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Publish To Environment workflow does not log user inputs and reports false success when environments are skipped

1 participant