Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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:
Expand Down
Loading