Skip to content

Conversation

@chelnak
Copy link

@chelnak chelnak commented Oct 23, 2025

Adds a new GitHub action that automates the publishing of new winget manifests.

The workflow is triggered when a release is published and requires a repository secret to be set that has public repo access.

Info on requirements for the token can be found here.

I made the assumption that your tags will always be your release version (that seems to be the case so far).

Adds a new GitHub action that automates the publishing of new winget
manifests.

The workflow is triggered when a release is published and requires a
repository secret to be set that has public repo access.
@chelnak chelnak requested a review from a team as a code owner October 23, 2025 13:21
@dgageot
Copy link
Member

dgageot commented Oct 31, 2025

@chelnak I'm not sure I understand what needs to be configured from the link you shared

@chelnak
Copy link
Author

chelnak commented Oct 31, 2025

@chelnak I'm not sure I understand what needs to be configured from the link you shared

Oh I must have copied the wrong link.

I'll find the correct one!

@chelnak
Copy link
Author

chelnak commented Oct 31, 2025

Here's the correct doc:

https://github.com/microsoft/winget-create?tab=readme-ov-file#using-windows-package-manager-manifest-creator-in-a-cicd-pipeline

You'll need a GitHub token that has public repo access because it will create a PR to the winget-pkgs repository.

The workflow in this PR expects a secret named WINGET_TOKEN.

IIRC, wingetcreate works by forking the packages repository then creates the upstream PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants