add GITHUB_TOKEN fallback for goreleaser (#925)

adding the fallback to the GITHUB_TOKEN allows execution of goreleaser in a fork without additional configuration
This commit is contained in:
Alexander Mnich
2025-06-27 03:03:19 +02:00
committed by GitHub
parent 46316ebffa
commit 8c52f30a71

View File

@@ -39,4 +39,4 @@ jobs:
version: latest
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.TOKEN }}
GITHUB_TOKEN: ${{ secrets.TOKEN || secrets.GITHUB_TOKEN }}