File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 9
9
type : string
10
10
description : " Version"
11
11
required : true
12
- default : " 0.1.0 "
12
+ default : " 0.7.9 "
13
13
14
14
jobs :
15
15
# https://github.com/mislav/bump-homebrew-formula-action
@@ -20,19 +20,16 @@ jobs:
20
20
steps :
21
21
- uses : actions/create-github-app-token@v1
22
22
id : app-token
23
- if : github.event_name != 'workflow_dispatch'
24
23
with :
25
24
app-id : 1178949
26
25
private-key : ${{ secrets.PRIVATE_KEY_5422M4N_BOT }}
27
26
28
27
- name : Get GitHub App User ID
29
28
id : get-user-id
30
- if : github.event_name != 'workflow_dispatch'
31
29
run : echo "user-id=$(gh api "/users/${{ steps.app-token.outputs.app-slug }}[bot]" --jq .id)" >> "$GITHUB_OUTPUT"
32
30
env :
33
31
GH_TOKEN : ${{ steps.app-token.outputs.token }}
34
32
- name : Set git user
35
- if : github.event_name != 'workflow_dispatch'
36
33
run : |
37
34
git config --global user.name '${{ steps.app-token.outputs.app-slug }}[bot]'
38
35
git config --global user.email '${{ steps.get-user-id.outputs.user-id }}+${{ steps.app-token.outputs.app-slug }}[bot]@users.noreply.github.com'
54
51
with :
55
52
formula-name : t-rec
56
53
tag-name : v${{ env.RELEASE_VERSION }}
54
+
55
+ env :
56
+ GITHUB_TOKEN : ${{ steps.app-token.outputs.token }}
You can’t perform that action at this time.
0 commit comments