Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

WinGet publish action not hit because of default GitHub token #1216

Answered by waldekmastykarz
mdanish-kh asked this question in Q&A
Discussion options

Description of the issue

I see a new release was created v0.24.0-beta.3 but the WinGet publish action was not invoked.

Cause

This repo creates release automatically using an action

https://github.com/microsoft/dev-proxy/blob/554bb9e88927766b75694589f0eb146659b618e6/.github/workflows/create-release.yml#L137-L148

The action uses the default secrets.GITHUB_TOKEN created automatically. As I've found in these threads below, GitHub won't let that workflow trigger another workflow if the default github token is used.

To fix this, I would suggest changing the token in create-release.yml file to be a personal access token instead of an automatically generated one

cc @garrytrinder @waldekmastykarz

You must be logged in to vote

We noticed this too and were just about to ping you. Thanks for reaching out @mdanish-kh! We were wondering what's the cause was for the workflow not to fire and arrived at the same conclusion. Unfortunately, using PATs is discouraged at Microsoft. As such, we won't be changing our workflow and for the time being, we'll stick to our existing process of publishing to winget manually. That said, thank you so much for working with us. I learned a thing or two and will keep it in mind for the future.

Replies: 2 comments

Comment options

We noticed this too and were just about to ping you. Thanks for reaching out @mdanish-kh! We were wondering what's the cause was for the workflow not to fire and arrived at the same conclusion. Unfortunately, using PATs is discouraged at Microsoft. As such, we won't be changing our workflow and for the time being, we'll stick to our existing process of publishing to winget manually. That said, thank you so much for working with us. I learned a thing or two and will keep it in mind for the future.

You must be logged in to vote
0 replies
Answer selected by waldekmastykarz
Comment options

@waldekmastykarz Ah, understandable. In that case, I'll close this issue. Feel free to ping me if you got anything else, thanks

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
Converted from issue

This discussion was converted from issue #970 on June 04, 2025 09:45.

AltStyle によって変換されたページ (->オリジナル) /