From 50c9ac2b302d7e4f22965f5314c6f8d2bddd8d81 Mon Sep 17 00:00:00 2001 From: Geoff Bourne Date: Mon, 27 Jul 2026 07:20:29 -0500 Subject: [PATCH] Corrected token used for auto release (#666) --- .github/workflows/auto-release.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/auto-release.yml b/.github/workflows/auto-release.yml index 2042481..c2ec744 100644 --- a/.github/workflows/auto-release.yml +++ b/.github/workflows/auto-release.yml @@ -8,11 +8,12 @@ jobs: runs-on: ubuntu-latest # If forked, changed to your username to enable auto-releases if: github.repository_owner == 'itzg' - permissions: - # allow for creating releases/tags - contents: write steps: - uses: zenengeo/github-auto-release-action@main with: stable-duration: 3d force-duration: 14d + # It is important to use a token other than the workflow allocated GITHUB_TOKEN, + # since actions prevent loops by disallowing recursive workflow triggers with that token. + # In this case, the created tag needs to trigger the "Build and Publish" workflow. + token: '${{ secrets.GH_TOKEN }}' \ No newline at end of file