From 66eae6992cc70184cb669b49e1443f45e86cf8c0 Mon Sep 17 00:00:00 2001 From: Jacob Pleiness Date: Wed, 14 May 2025 09:24:51 -0400 Subject: [PATCH] chore: update secrets --- .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 b4786c336c..79c749ae43 100644 --- a/.github/workflows/goreleaser.yml +++ b/.github/workflows/goreleaser.yml @@ -124,7 +124,7 @@ jobs: with: repository: sourcegraph/homebrew-src-cli fetch-depth: 0 - token: ${{ secrets.BOT_CROSS_REPO_PAT }} + token: ${{ secrets.BOT_GITHUB_TOKEN }} - name: Copy main release formula file to versioned formula file run: cp Formula/src-cli.rb ${{ env.versioned_formula_file }} # Homebrew expects the name of the class in a versioned formula file to be of the @@ -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.GH_PAT }} + GITHUB_TOKEN: ${{ secrets.BOT_GITHUB_TOKEN }} # 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: