Skip to content

Move Changesets version PRs and release tags to Azure Pipelines - #1377

Merged
Jake Bailey (jakebailey) merged 4 commits into
microsoft:mainfrom
jakebailey:changesets-pipelines
Dec 4, 2026
Merged

Jake Bailey (jakebailey) merged 4 commits into
microsoft:mainfrom
jakebailey:changesets-pipelines

Conversation

@jakebailey

Copy link
Copy Markdown
Member

.azure-pipelines/steps/create-github-app-token.yml is vendored, the rest is new.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟡 Changes recommended

The release workflow cannot recover from a failure or interruption after tags are pushed because reruns skip existing tags and return early, leaving missing GitHub releases uncreated.

1 open issue
What changed in this PR

Moves Changesets version PRs, release tags, and GitHub release creation from GitHub Actions to Azure Pipelines. Package publishing remains in the existing Azure release pipeline.

Changes:

  • Adds a main-branch pipeline and script to manage version PRs, tags, and release notes.
  • Vendors a GitHub App token template with Azure Key Vault signing and token revocation.
  • Removes the previous GitHub Actions workflow.
File Description
.github/​workflows/​version-or-publish.yml Removes the superseded GitHub Actions workflow.
.azure-pipelines/​steps/​create-github-app-token.yml Adds the vendored token creation and revocation template.
.azure-pipelines/​changesets.yml Configures the main-branch pipeline, dependencies, and authentication.
.azure-pipelines/​changesets.mjs Implements version PR updates, tagging, and GitHub release creation.

Review effort: Balanced

Comment thread .azure-pipelines/changesets.mjs Resolved
Tags are pushed before releases are created, so a failed release call
left a tag that later runs skipped, and its release was never made.
An empty changelog entry also produced a release with no notes, where
changesets/action failed instead.
Neither repo uses Changesets pre mode, and version PR bodies stay far
below GitHub's size limit, so the code handling those cases only made
the script longer. Changesets writes every CHANGELOG.md this script
reads, so a plain split on version headings finds the same sections as
a full Markdown parser.
@jakebailey
Jake Bailey (jakebailey) added this pull request to the merge queue Dec 4, 2026
Merged via the queue into microsoft:main with commit 4e72d98 Dec 4, 2026
10 checks passed
@jakebailey
Jake Bailey (jakebailey) deleted the changesets-pipelines branch December 4, 2026 20:18
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.

3 participants