Skip to content

Commit 19a2ea7

Browse files
committed
fix(ci): iterate on the homebrew pipeline
Signed-off-by: Sven Kanoldt <sven@d34dl0ck.me>
1 parent 354e3f2 commit 19a2ea7

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/release-to-homebrew.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,9 @@ jobs:
2929
run: echo "user-id=$(gh api "/users/${{ steps.app-token.outputs.app-slug }}[bot]" --jq .id)" >> "$GITHUB_OUTPUT"
3030
env:
3131
GH_TOKEN: ${{ steps.app-token.outputs.token }}
32-
- run: |
32+
- name: Set git user
33+
if: github.event_name != 'workflow_dispatch'
34+
run: |
3335
git config --global user.name '${{ steps.app-token.outputs.app-slug }}[bot]'
3436
git config --global user.email '${{ steps.get-user-id.outputs.user-id }}+${{ steps.app-token.outputs.app-slug }}[bot]@users.noreply.github.com'
3537
@@ -50,3 +52,4 @@ jobs:
5052
with:
5153
formula-name: t-rec
5254
tag-name: v${{ env.RELEASE_VERSION }}
55+
push-to: sassman/homebrew-core

0 commit comments

Comments
 (0)