Skip to content

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

@mdanish-kh

Description

@mdanish-kh

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions