Skip to content

Commit 1d87e61

Browse files
authored
chore: update secrets (#1161)
1 parent c5bda20 commit 1d87e61

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/goreleaser.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ jobs:
124124
with:
125125
repository: sourcegraph/homebrew-src-cli
126126
fetch-depth: 0
127-
token: ${{ secrets.BOT_CROSS_REPO_PAT }}
127+
token: ${{ secrets.BOT_GITHUB_TOKEN }}
128128
- name: Copy main release formula file to versioned formula file
129129
run: cp Formula/src-cli.rb ${{ env.versioned_formula_file }}
130130
# Homebrew expects the name of the class in a versioned formula file to be of the
@@ -202,7 +202,7 @@ jobs:
202202
args: release --clean --config=${{ env.config_file }}
203203
env:
204204
# Use separate access token, because we need a scope:repo token to publish the brew formula.
205-
GITHUB_TOKEN: ${{ secrets.GH_PAT }}
205+
GITHUB_TOKEN: ${{ secrets.BOT_GITHUB_TOKEN }}
206206

207207
# goreleaser_post updates the symlink name to refer to the new release version. The
208208
# symlink enables users to install the latest src-cli with the versioned command:

0 commit comments

Comments
 (0)