actions-marketplace-validations/Update .NET SDK

Attempts to update the version of the .NET SDK used by the repository's global.json file.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit Feb 9, 2026
License
Apache 2.0

Pinned Snippet

workflow.ymlSHA-pinned
uses: actions-marketplace-validations/martincostello_update-dotnet-sdk@3bf559cdc4dc8b6c6959c5466bd2c96ba7b892fc # no releases — HEAD as of 2026-07-13

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
repo-tokenThe GitHub access token to use to create a Pull Request for any SDK update to the repository.yes
branch-nameThe optional Git branch name to use.no""
channelThe optional .NET release channel to download the SDK for (2.1, 3.1, 5.0, etc.).no""
close-supersededIf true, any existing pull requests superseded by any pull request opened by the action are closed.notrue
commit-messageThe optional Git commit message to use.no""
commit-message-prefixThe optional Git commit message prefix to use if commit-message is not specified.no""
generate-step-summaryIf true, will output a summary of any .NET SDK update to $GITHUB_STEP_SUMMARY.notrue
global-json-fileThe optional path to the global.json file to update.no./global.json
labelsThe optional comma-separated label(s) to apply to Pull Requests generated by the action.no""
prerelease-labelThe optional pre-release label to restrict SDK updates to if a quality is specified.no""
repoThe optional GitHub repository to generate the pull request against.no${{ github.repository }}
security-onlyIf true, .NET SDK updates which do not contain security fixes are ignored.nofalse
qualityThe optional value to specify using the latest build of the specified quality in the channel.no""
user-emailThe optional email address to use for the Git commit.nogithub-actions[bot]@users.noreply.github.com
user-nameThe optional user name to use for the Git commit.nogithub-actions[bot]
dry-runIf true, the action will not push changes to GitHub.nofalse
namedescription
aspnetcore-versionThe version of the ASP.NET Core runtime associated with the updated .NET SDK.
branch-nameThe name of the Git branch associated with the Pull Request created by the action if the .NET SDK is updated.
pull-request-numberThe number of the Pull Request created by the action if the .NET SDK is updated.
pull-request-html-urlThe HTML URL of the Pull Request created by the action if the .NET SDK is updated.
pull-requests-closedA JSON array of the numbers of any pull requests that were closed as superseded.
sdk-updatedWhether the .NET SDK was updated by the action.
sdk-versionThe latest version of the .NET SDK for the specified channel when the action completed.
runtime-versionThe version of the .NET runtime associated with the updated .NET SDK.
securityWhether any .NET SDK update includes security fixes.
windows-desktop-versionThe version of the Windows Desktop runtime associated with the updated .NET SDK.