Skip to content

Commit bc9fc81

Browse files
authored
fix(rel): udpate token references for other GH actions (#1167)
Update GH token references for other GH actions ### Test plan CI
1 parent bd686ce commit bc9fc81

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
@@ -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.BOT_GITHUB_TOKEN }}
205+
GITHUB_TOKEN: ${{ secrets.BOT_CROSS_REPO_PAT }}
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:
@@ -230,7 +230,7 @@ jobs:
230230
with:
231231
repository: sourcegraph/homebrew-src-cli
232232
fetch-depth: 0
233-
token: ${{ secrets.BOT_GITHUB_TOKEN }}
233+
token: ${{ secrets.BOT_CROSS_REPO_PAT }}
234234
- name: Replace symlink
235235
run: mv ${{ env.old_symlink_name }} ${{ env.new_symlink_name }}
236236
- name: Commit result

0 commit comments

Comments
 (0)