Skip to content

Update winget.yml to use app access token#764

Merged
devm33 merged 1 commit intomainfrom
devm33/winget-app
Dec 12, 2025
Merged

Update winget.yml to use app access token#764
devm33 merged 1 commit intomainfrom
devm33/winget-app

Conversation

@devm33
Copy link
Copy Markdown
Member

@devm33 devm33 commented Dec 12, 2025

Replaced the GitHub token environment variable with a generated app access token for winget-create.

Replaced the GitHub token environment variable with a generated app access token for winget-create.
Copilot AI review requested due to automatic review settings December 12, 2025 02:47
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR migrates the winget workflow from using a static GitHub token secret to dynamically generating a GitHub App access token for submitting package updates to the WinGet community repository.

Key Changes:

  • Removed the job-level environment variable configuration for WINGET_CREATE_GITHUB_TOKEN
  • Added a new step to generate a GitHub App access token using the actions/create-github-app-token@v2 action
  • Moved the WINGET_CREATE_GITHUB_TOKEN environment variable to the specific step that needs it, populated with the generated app token

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@devm33 devm33 merged commit 44a9767 into main Dec 12, 2025
9 checks passed
@devm33 devm33 deleted the devm33/winget-app branch December 12, 2025 02:51
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.

3 participants