Skip to content

Commit ff7cf3f

Browse files
committed
fix(ci): iterate
Signed-off-by: Sven Kanoldt <sven@d34dl0ck.me>
1 parent 8925172 commit ff7cf3f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99
type: string
1010
description: "Version"
1111
required: true
12-
default: "0.1.0"
12+
default: "0.7.9"
1313

1414
jobs:
1515
# https://github.com/mislav/bump-homebrew-formula-action
@@ -20,19 +20,16 @@ jobs:
2020
steps:
2121
- uses: actions/create-github-app-token@v1
2222
id: app-token
23-
if: github.event_name != 'workflow_dispatch'
2423
with:
2524
app-id: 1178949
2625
private-key: ${{ secrets.PRIVATE_KEY_5422M4N_BOT }}
2726

2827
- name: Get GitHub App User ID
2928
id: get-user-id
30-
if: github.event_name != 'workflow_dispatch'
3129
run: echo "user-id=$(gh api "/users/${{ steps.app-token.outputs.app-slug }}[bot]" --jq .id)" >> "$GITHUB_OUTPUT"
3230
env:
3331
GH_TOKEN: ${{ steps.app-token.outputs.token }}
3432
- name: Set git user
35-
if: github.event_name != 'workflow_dispatch'
3633
run: |
3734
git config --global user.name '${{ steps.app-token.outputs.app-slug }}[bot]'
3835
git config --global user.email '${{ steps.get-user-id.outputs.user-id }}+${{ steps.app-token.outputs.app-slug }}[bot]@users.noreply.github.com'
@@ -54,3 +51,6 @@ jobs:
5451
with:
5552
formula-name: t-rec
5653
tag-name: v${{ env.RELEASE_VERSION }}
54+
55+
env:
56+
GITHUB_TOKEN: ${{ steps.app-token.outputs.token }}

0 commit comments

Comments
 (0)