Boeing / config-file-validator

Cross Platform tool to validate configuration files
https://boeing.github.io/config-file-validator/
Apache License 2.0
348 stars 71 forks source link

Add Winget Releaser workflow #167

Open sitiom opened 2 months ago

sitiom commented 2 months ago

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:

  1. Add a classic PAT with public_repo scope as a repository secret named WINGET_TOKEN.

example

  1. 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.
  2. Install Pull on the winget-pkgs fork to ensure that it is constantly updated.

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).

kehoecj commented 1 month ago

@sitiom Can you explain this suggestion:

(Or add a fork-user input and set it to the PAT owner).

Does that still require creating a fork under the @boeing org?

sitiom commented 1 month ago

No, the fork should come under the fork user.