Update WinGet publish script to use env var instead of --token - #467
Merged
Dustin L. Howett (DHowett) merged 1 commit intoJun 11, 2025
Merged
Conversation
Dustin L. Howett (DHowett)
approved these changes
Jun 11, 2025
Dustin L. Howett (DHowett)
left a comment
Member
There was a problem hiding this comment.
after reviewing three of these, I am somewhat suspect that all callers need to always be updated to the latest whiz-bang thing immediately. But also, I don't mind
Contributor
Author
Not immediately as |
Lou32 (Lou32Verbose)
pushed a commit
to Lou32Verbose/edit
that referenced
this pull request
Jan 11, 2026
…icrosoft#467) With the latest winget-create release, the preferred method for providing the GitHub token in CI/CD environment is via the environment variable `WINGET_CREATE_GITHUB_TOKEN`. Removed use of `--token` and switched to environment variable. See https://aka.ms/winget-create-token for details.
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.
With the latest winget-create release, the preferred method for providing the GitHub token in CI/CD environment is via the environment variable
WINGET_CREATE_GITHUB_TOKEN. Removed use of--tokenand switched to environment variable. See https://aka.ms/winget-create-token for details.