Add GitHub workflow to bump the WinGet package#1059
Draft
twz123 wants to merge 1 commit into
Draft
Conversation
Use komac to automatically manage the WinGet package update flow. Signed-off-by: Tom Wieczorek <twieczorek@mirantis.com>
1bcde39 to
3f8a495
Compare
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.
Use komac to automatically manage the WinGet package update flow.
We still need to provision the secrets for @k0s-bot, so we can open PRs against the winget repo.
We need:
WINGET_FORK_TOKENA fine-grained token for the
k0sproject/winget-pkgsrepository, which is the fork we need to create PRs againstmicrosoft/winget-pkgs. It needs to have read and write permissions forcontentsandworkflowson the fork.WINGET_UPSTREAM_TOKENA classic token with the
public_reposcope. This is required to open PRs againstmicrosoft/winget-pkgs.I was able to run this successfully from my fork in job run 25379093689: microsoft/winget-pkgs#368880.
Raw job logs
See #1056.