From 9c8de521ff7dcd2e1d60d4717de0df8c067618be Mon Sep 17 00:00:00 2001 From: ReenigneArcher <42013603+ReenigneArcher@users.noreply.github.com> Date: Mon, 7 Sep 2026 08:26:24 -0400 Subject: [PATCH] fix(winget): auto sync fork --- .github/workflows/__call-update-winget-repo.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/__call-update-winget-repo.yml b/.github/workflows/__call-update-winget-repo.yml index ec3ee7d8..16b58f70 100644 --- a/.github/workflows/__call-update-winget-repo.yml +++ b/.github/workflows/__call-update-winget-repo.yml @@ -65,6 +65,15 @@ jobs: out-file-path: "release_downloads" extract: false + - name: Sync WinGet fork + if: >- + steps.check-label.outputs.hasTopic == 'true' && + fromJson(steps.download.outputs.downloaded_files)[0] + env: + GH_TOKEN: ${{ secrets.GH_TOKEN }} + WINGET_FORK: ${{ github.repository_owner }}/winget-pkgs + run: gh repo sync "$WINGET_FORK" --branch master + - name: Release to WinGet id: winget if: >-