Skip to content

🔑 WINGET_TOKEN needs rotation (healthy) #630

Closed

Description

@github-actions

🔴 WinGet publish path is BROKEN (token itself looks healthy)

The WinGet auto-publish workflow (winget-publish.yml) needs WINGET_TOKEN to fork + push to microsoft/winget-pkgs on every release. Once it expires, releases will silently fail to update WinGet.

Field Value
Status healthy
Expiry 2027-05-31 07:00:00 UTC
Days left 237
Warn threshold 28 days
Publish readiness failed
Readiness detail WINGET_TOKEN lacks the workflow scope (has: public_repo); the fork sync is refused whenever microsoft/winget-pkgs changes a workflow file. Edit the classic PAT at https://github.com/settings/tokens to add workflow.

⚠️ Publish readiness failed

The token may be perfectly healthy — this probe reproduces the operation komac actually performs (fast-forward the fork, then create a branch off upstream master) and it did not succeed.

Check, in this order, before assuming the token is at fault:

  1. Does the fork githubrobbi/winget-pkgs still exist and is it writable?
  2. Is it far behind microsoft/winget-pkgs? (Publishing self-heals this, but a failing sync will not.)
  3. Only then suspect the token — and note the action requires a classic PAT with the public_repo and workflow scopes; without workflow the fork sync is refused whenever upstream touched a workflow file, and fine-grained PATs are unsupported (they cannot open the cross-fork PR).

How to rotate

  1. Create a new classic PAT at https://github.com/settings/tokens — scopes public_repo + workflow, ~1-year expiry.
  2. gh secret set WINGET_TOKEN --repo skyllc-ai/UltraFastFileSearch and paste it.
  3. Run the 🔑 WinGet Token Expiry Check workflow manually (workflow_dispatch) to confirm healthy — it will auto-close this issue.

Filed by winget-token-expiry-check.yml (weekly probe of the token's real expiry header).

Activity

  1. github-actions commented on Oct 12, 2026

    @github-actions
    ContributorAuthor

    🔴 WinGet publish path is BROKEN (token itself looks healthy)

    The WinGet auto-publish workflow (winget-publish.yml) needs WINGET_TOKEN to fork + push to microsoft/winget-pkgs on every release. Once it expires, releases will silently fail to update WinGet.

    Field Value
    Status healthy
    Expiry 2027-05-31 07:00:00 UTC
    Days left 230
    Warn threshold 28 days
    Publish readiness failed
    Readiness detail WINGET_TOKEN lacks the workflow scope (has: public_repo); the fork sync is refused whenever microsoft/winget-pkgs changes a workflow file. Edit the classic PAT at https://github.com/settings/tokens to add workflow.

    ⚠️ Publish readiness failed

    The token may be perfectly healthy — this probe reproduces the operation komac actually performs (fast-forward the fork, then create a branch off upstream master) and it did not succeed.

    Check, in this order, before assuming the token is at fault:

    1. Does the fork githubrobbi/winget-pkgs still exist and is it writable?
    2. Is it far behind microsoft/winget-pkgs? (Publishing self-heals this, but a failing sync will not.)
    3. Only then suspect the token — and note the action requires a classic PAT with the public_repo and workflow scopes; without workflow the fork sync is refused whenever upstream touched a workflow file, and fine-grained PATs are unsupported (they cannot open the cross-fork PR).

    How to rotate

    1. Create a new classic PAT at https://github.com/settings/tokens — scopes public_repo + workflow, ~1-year expiry.
    2. gh secret set WINGET_TOKEN --repo skyllc-ai/UltraFastFileSearch and paste it.
    3. Run the 🔑 WinGet Token Expiry Check workflow manually (workflow_dispatch) to confirm healthy — it will auto-close this issue.

    Filed by winget-token-expiry-check.yml (weekly probe of the token's real expiry header).

  2. github-actions commented on Oct 14, 2026

    @github-actions
    ContributorAuthor

    ✅ WINGET_TOKEN is healthy again (status: healthy, expiry: 2027-05-31 07:00:00 UTC, ~229 days left). Closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions