Add a classic PAT with public_repo scope as a repository secret named WINGET_TOKEN.
Fork https://github.com/microsoft/winget-pkgs under @Boeing (Or add a fork-user input and set it to the PAT owner). The action will use that fork for making a branch and creating a PR with the upstream winget-pkgs repository on every release.
Install Pull on the winget-pkgs fork to ensure that it is constantly updated.
This action automatically generates manifests for Winget Community Repository (microsoft/winget-pkgs) and submits them.
config-file-validator is being added to Winget (https://github.com/microsoft/winget-pkgs/pull/169511), and this workflow will be used to update it.
Before merging this:
public_repo
scope as a repository secret namedWINGET_TOKEN
.fork-user
input and set it to the PAT owner). The action will use that fork for making a branch and creating a PR with the upstream winget-pkgs repository on every release.If you want to see an example of a PR created using this action, see microsoft/winget-pkgs/pulls (Pull request has been created with WinGet Releaser).