Skip to content

Commit bbee2d7

Browse files
committed
chore(ci): Don't override GITHUB_TOKEN env var
1 parent dbb7011 commit bbee2d7

File tree

2 files changed

+6
-81
lines changed

2 files changed

+6
-81
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,5 @@ jobs:
2828
version: latest
2929
args: release --clean
3030
env:
31-
GITHUB_TOKEN: ${{ secrets.BREW_TOKEN }}
31+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
32+
HOMEBREW_REPO_TOKEN: ${{ secrets.BREW_TOKEN }}

.goreleaser.yaml

Lines changed: 4 additions & 80 deletions
Original file line numberDiff line numberDiff line change
@@ -40,108 +40,32 @@ changelog:
4040

4141
brews:
4242
-
43-
# Name of the recipe
44-
#
45-
# Default: the project name.
46-
# Templates: allowed.
4743
name: claude-squad
48-
49-
# NOTE: make sure the url_template, the token and given repo (github or
50-
# gitlab) owner and name are from the same kind.
51-
# We will probably unify this in the next major version like it is
52-
# done with scoop.
53-
54-
# URL which is determined by the given Token (github, gitlab or gitea).
55-
#
56-
# Default depends on the client.
57-
# Templates: allowed.
5844
url_template: "https://github.com/smtg-ai/claude-squad/releases/download/{{ .Tag }}/{{ .ArtifactName }}"
59-
60-
# Git author used to commit to the repository.
61-
# Templates: allowed.
6245
commit_author:
6346
name: goreleaserbot
6447
65-
66-
# The project name and current git tag are used in the format string.
67-
#
68-
# Templates: allowed.
6948
commit_msg_template: "Brew formula update for {{ .ProjectName }} version {{ .Tag }}"
70-
71-
# Directory inside the repository to put the formula.
7249
directory: Formula
73-
74-
# Your app's homepage.
75-
#
76-
# Default: inferred from global metadata.
7750
homepage: "https://smtg-ai.github.io/claude-squad/"
78-
79-
# Your app's description.
80-
#
81-
# Templates: allowed.
82-
# Default: inferred from global metadata.
8351
description: "Manage multiple AI agents like Claude Code, Aider, and more. 10x your productivity."
84-
85-
# SPDX identifier of your app's license.
86-
#
87-
# Default: inferred from global metadata.
8852
license: "AGPL-3.0"
89-
90-
# Setting this will prevent goreleaser to actually try to commit the updated
91-
# formula - instead, the formula file will be stored on the dist directory
92-
# only, leaving the responsibility of publishing it to the user.
93-
# If set to auto, the release will not be uploaded to the homebrew tap
94-
# in case there is an indicator for prerelease in the tag e.g. v1.0.0-rc1
95-
#
96-
# Templates: allowed.
9753
skip_upload: false
98-
99-
# Packages your package depends on.
10054
dependencies:
10155
- name: tmux
10256
- name: gh
10357
type: optional
104-
105-
# So you can `brew test` your formula.
106-
#
107-
# Template: allowed
10858
test: |
10959
system "#{bin}/cs version"
110-
# ...
111-
112-
# Repository to push the generated files to.
11360
repository:
114-
# Repository owner.
115-
#
116-
# Templates: allowed.
11761
owner: smtg-ai
118-
119-
# Repository name.
120-
#
121-
# Templates: allowed.
122-
name: homebrew-claude-squad
123-
124-
# Optionally a branch can be provided.
125-
#
126-
# Default: default repository branch.
127-
# Templates: allowed.
62+
name: homebrew-smtg-ai
12863
branch: brew-tap
129-
130-
# Sets up pull request creation instead of just pushing to the given branch.
131-
# Make sure the 'branch' property is different from base before enabling
132-
# it.
133-
#
134-
# This might require a personal access token.
64+
token: "{{ .Env.HOMEBREW_REPO_TOKEN }}"
13565
pull_request:
136-
# Whether to enable it or not.
13766
enabled: true
138-
139-
# Whether to open the PR as a draft or not.
14067
draft: true
141-
142-
# Base can also be another repository, in which case the owner and name
143-
# above will be used as HEAD, allowing cross-repository pull requests.
14468
base:
14569
owner: smtg-ai
146-
name: homebrew-claude-squad
147-
branch: main
70+
name: homebrew-smtg-ai
71+
branch: main

0 commit comments

Comments
 (0)