Add AzDO pipeline to bump decoupled deps and update API docs after publish#5661
Open
Add AzDO pipeline to bump decoupled deps and update API docs after publish#5661
Conversation
octogonz
reviewed
Feb 22, 2026
octogonz
reviewed
Feb 22, 2026
common/config/azure-pipelines/templates/push-and-create-github-pr.yaml
Outdated
Show resolved
Hide resolved
octogonz
reviewed
Feb 22, 2026
octogonz
reviewed
Feb 22, 2026
…ge using multi-repo checkout
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a new AzDO pipeline (
npm-post-publish.yaml) that runs automatically after either npm publish pipeline completes. Currently it bumps decoupled local dependencies to the latest published versions and opens a GitHub PR with the changes. It is also designed to support a future stage that regenerates API markdown documentation onrushstack-websitesusingapi-documenter.Example PR here: #5660
Depends on #5663
What it does
Stage 1: Bump decoupled local dependencies
bump-decoupled-local-dependenciesfrom repo-toolboxrush updateto refresh the lockfilerush change --bulk --bump-type noneautomated/bump-decoupled-depsand creates/updates a GitHub PRStage 2: Update API documentation (planned)
Once the
publish-api-artifactPR (#5663) merges, a second stage will be added to:*.api.jsonartifact from the triggering publish pipelineapi-documenter markdownto generate updated API reference pagesmicrosoft/rushstack-websiteswith the refreshed markdownFiles
npm-post-publish.yaml— Main pipeline, triggered by bothrushstack NPM Publishandrushstack NPM Publish (rush)templates/push-and-create-github-pr.yaml— Reusable template for force-pushing a branch and creating/updating a GitHub PR via the REST API (supports aWorkingDirectoryparameter for multi-repo checkout scenarios)templates/post-publish.yaml— Fixlib/→lib-commonjs/path for repo-toolbox invocations