From 91ad46b049ab4843b550f8d458b6bfaf081c6138 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 24 Sep 2026 02:05:54 +0000 Subject: [PATCH 1/2] Initial plan From 932e092058d9a3128726c7734045437ba4b743f5 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 24 Sep 2026 02:08:37 +0000 Subject: [PATCH 2/2] Handle WinGet token failures gracefully in post-release workflow Co-authored-by: dail8859 <3694843+dail8859@users.noreply.github.com> --- .github/workflows/post_release.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/post_release.yml b/.github/workflows/post_release.yml index 2aa0c511b..3fb957ecc 100644 --- a/.github/workflows/post_release.yml +++ b/.github/workflows/post_release.yml @@ -25,7 +25,14 @@ jobs: name: Publish to WinGet runs-on: ubuntu-latest steps: - - uses: vedantmgoyal2009/winget-releaser@v2 + - id: publish-winget + uses: vedantmgoyal2009/winget-releaser@v2 + continue-on-error: true with: identifier: dail8859.NotepadNext token: ${{ secrets.WINGET_TOKEN }} + + - name: Report WinGet publish failure + if: steps.publish-winget.outcome == 'failure' + run: | + echo "::warning::WinGet publish failed. The WINGET_TOKEN is likely invalid or missing required permissions. Configure a classic PAT with public_repo scope."