chore(ci): Add workflow to re-list unlisted NuGet packages#400
Merged
Conversation
Add a manual workflow_dispatch workflow that POSTs to the NuGet re-list endpoint using the existing NUGET_API_KEY secret from the Release environment. This allows re-listing packages that were unlisted by the CD pipeline's remove-package-if-validation-fails job (e.g. due to flaky test failures) without needing direct access to the nuget.org web UI. Signed-off-by: currantw <taylor.curran@improving.com>
Signed-off-by: currantw <taylor.curran@improving.com>
alexr-bq
approved these changes
May 13, 2026
This was referenced May 13, 2026
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
Add a manual workflow to re-list NuGet packages that were unlisted by the CD pipeline's
remove-package-if-validation-failsjob (e.g. due to flaky test failures).Issue Link
⚪ None
Features and Behaviour Changes
relist-package.ymlworkflow triggered viaworkflow_dispatchwith aversioninput.NUGET_API_KEYfrom theReleaseenvironment to POST to the NuGet re-list endpoint.Implementation
NuGet supports re-listing via
POST https://www.nuget.org/api/v2/package/{ID}/{VERSION}with the same API key used for publish/unlist. This workflow wraps that call with proper error handling.Limitations
Releaseenvironment approval (same as publish).Testing
⚪ Cannot be tested without actually unlisting a package.
Related Issues
⚪ None
Checklist
This Pull Request is related to one issue.Tests are added or updated and all checks pass.CHANGELOG.md,README.md,DEVELOPER.md, and other documentation files are updated.mainor releasemain, squash otherwise.