From d7d87acb7e6d9d72eb16783067627e048bc36946 Mon Sep 17 00:00:00 2001 From: Claude Date: Fri, 22 May 2026 22:07:50 +0000 Subject: [PATCH] ci: pass GITHUB_TOKEN explicitly to checkout and release steps Add explicit token inputs to the checkout and softprops/action-gh-release steps so the GitHub token is wired through instead of relying on implicit defaults. The workflow-level contents: write permission already scopes the token correctly for tag/release creation. --- .github/workflows/release.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 328a63f..146ec77 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -33,6 +33,7 @@ jobs: uses: actions/checkout@v4 with: ref: ${{ steps.ref.outputs.ref }} + token: ${{ secrets.GITHUB_TOKEN }} - name: Setup Go uses: actions/setup-go@v5 @@ -52,6 +53,7 @@ jobs: - name: Create release uses: softprops/action-gh-release@v2 with: + token: ${{ secrets.GITHUB_TOKEN }} tag_name: ${{ steps.ref.outputs.tag }} name: ${{ steps.ref.outputs.tag }} generate_release_notes: true -- 2.47.3