Skip to content

Commit 5122db9

Browse files
Update .goreleaser.yml (#280)
* Update .goreleaser.yml * clean homebrew
1 parent 1213481 commit 5122db9

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,5 @@ jobs:
3030
version: latest
3131
args: release --rm-dist --debug
3232
env:
33-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
33+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
34+
GO_BOT_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }}

.goreleaser.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ brews:
4949
- tap:
5050
owner: checkmarx
5151
name: homebrew-ast-cli
52-
token: "{{ .Env.GITHUB_TOKEN }}"
52+
token: "{{ .Env.GO_BOT_TOKEN }}"
5353
folder: Formula
5454
homepage: https://github.com/Checkmarx/ast-cli
5555
description: CLI for AST
@@ -59,4 +59,4 @@ brews:
5959
install: |-
6060
pkgshare.mkpath
6161
cp_r "assets", pkgshare
62-
bin.install "cx"
62+
bin.install "cx"

0 commit comments

Comments
 (0)