From 8c52f30a711b8567b3c784727c22ce4c4127bc6e Mon Sep 17 00:00:00 2001 From: Alexander Mnich <56564725+a-mnich@users.noreply.github.com> Date: Fri, 27 Jun 2025 03:03:19 +0200 Subject: [PATCH] add GITHUB_TOKEN fallback for goreleaser (#925) adding the fallback to the GITHUB_TOKEN allows execution of goreleaser in a fork without additional configuration --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 81c7466..036d2e7 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -39,4 +39,4 @@ jobs: version: latest args: release --clean env: - GITHUB_TOKEN: ${{ secrets.TOKEN }} + GITHUB_TOKEN: ${{ secrets.TOKEN || secrets.GITHUB_TOKEN }}