From 69d87011f3919411f2b3cb124c004a21921da864 Mon Sep 17 00:00:00 2001 From: Rob Reed Date: Thu, 27 Aug 2026 23:52:47 -0700 Subject: [PATCH] Create the release with the workflow token. GH_PAT has expired, so gh release create fails with an HTTP 401 and the run ends red even though the VSIX has already been built, committed to xelp/dist and tagged. The job already requests contents: write, which is all that creating a release needs, so the workflow token can do it without a stored secret to renew. --- .github/workflows/xelp_shadow_release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/xelp_shadow_release.yml b/.github/workflows/xelp_shadow_release.yml index 1499fd74..21cd8f8d 100644 --- a/.github/workflows/xelp_shadow_release.yml +++ b/.github/workflows/xelp_shadow_release.yml @@ -99,7 +99,7 @@ jobs: - name: Create Release env: - GH_TOKEN: ${{ secrets.GH_PAT }} + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | gh release create "${{ steps.version.outputs.tag_version }}" \ --repo $GITHUB_REPOSITORY \