Skip to content

Bug fix: Deployment not tracked against PR branch when using appVersion: PR_<ID>#2136

Draft
spetersenms wants to merge 11 commits intomicrosoft:mainfrom
spetersenms:PublishToEnvPr
Draft

Bug fix: Deployment not tracked against PR branch when using appVersion: PR_<ID>#2136
spetersenms wants to merge 11 commits intomicrosoft:mainfrom
spetersenms:PublishToEnvPr

Conversation

@spetersenms
Copy link
Contributor

@spetersenms spetersenms commented Feb 19, 2026

❔What, Why & How

When using Publish to Environment and setting the version to a PR branch, the deployment itself will work, however the deployment entry in Github will show a deployment against the main branch. This happens since the workflow runs against the main branch and downloads the PR artifacts.

This feature adds another step after a successful deployment from a PR that deactivates the deployment entry created by GitHub and creates a new manual one against the PR branch/ref.

This gives a better overview in the deployment UI and makes it easier to understand where a deployment actually came from.

Related to issue: #2118

✅ 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.

PublishToEnvironment: Deployment not tracked against PR branch when using appVersion: PR_<ID>

1 participant

Comments