Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create winget.yml #552

Merged
merged 1 commit into from
Aug 23, 2022
Merged

Create winget.yml #552

merged 1 commit into from
Aug 23, 2022

Conversation

vedantmgoyal9
Copy link
Contributor

This action automatically generates manifests for WinGet Community Repository (microsoft/winget-pkgs) and submits them.

Before merging this:

  1. Please add a GitHub token with public_repo and workflow scopes as a repository secret and rename the secret name in the workflow.
  2. Fork microsoft/winget-pkgs under @FedoraQt.

@vedantmgoyal9
Copy link
Contributor Author

cc @grulja

@grulja
Copy link
Collaborator

grulja commented Aug 23, 2022

cc @grulja

I'm aware. I was planning to look into this.

This action automatically generates manifests for WinGet Community Repository (microsoft/winget-pkgs) and submits them.

Before merging this:

  1. Please add a GitHub token with public_repo and workflow scopes as a repository secret and rename the secret name in the workflow.

I'm not sure what token I should add.

@vedantmgoyal9
Copy link
Contributor Author

  • Go to https://github.com/settings/tokens/new
  • Enter a token name (it can be anything, you want)
  • Select public_repo and workflow in the permissions section
  • Click "generate token" and copy the token to the clipboard.

After this, you've to add it as a repository secret. For this:

Finally, it would look like this:
image

@grulja
Copy link
Collaborator

grulja commented Aug 23, 2022

It looks when I check workflow it automatically checks all repo access, like repo:status, repo_deployment etc. so it's not possible to only check public_repo in this combination. I will read more documentation about what this all means.

@vedantmgoyal9
Copy link
Contributor Author

Only public_repo will work. workflow is only required in some special cases, like: https://github.com/sandboxie-plus/Sandboxie/runs/7931748039?check_suite_focus=true#step:2:173.

@grulja grulja merged commit 307b363 into FedoraQt:main Aug 23, 2022
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.

Publish to Windows Package Managar (WinGet)
2 participants