From 7a706b214732b43df3d7fd8c972ac71392dff138 Mon Sep 17 00:00:00 2001 From: Jacob Pleiness Date: Thu, 22 May 2025 11:28:51 -0700 Subject: [PATCH] fix(rel): udpate token references for other GH actions --- .github/workflows/goreleaser.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/goreleaser.yml b/.github/workflows/goreleaser.yml index 6dee404c51..bb39f6a067 100644 --- a/.github/workflows/goreleaser.yml +++ b/.github/workflows/goreleaser.yml @@ -202,7 +202,7 @@ jobs: args: release --clean --config=${{ env.config_file }} env: # Use separate access token, because we need a scope:repo token to publish the brew formula. - GITHUB_TOKEN: ${{ secrets.BOT_GITHUB_TOKEN }} + GITHUB_TOKEN: ${{ secrets.BOT_CROSS_REPO_PAT }} # goreleaser_post updates the symlink name to refer to the new release version. The # symlink enables users to install the latest src-cli with the versioned command: @@ -230,7 +230,7 @@ jobs: with: repository: sourcegraph/homebrew-src-cli fetch-depth: 0 - token: ${{ secrets.BOT_GITHUB_TOKEN }} + token: ${{ secrets.BOT_CROSS_REPO_PAT }} - name: Replace symlink run: mv ${{ env.old_symlink_name }} ${{ env.new_symlink_name }} - name: Commit result