File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -101,3 +101,6 @@ homebrew_casks:
101
101
repository :
102
102
owner : armsnyder
103
103
name : homebrew-tap
104
+ commit_author :
105
+ name : " {{ .Env.COMMIT_AUTHOR_NAME }}"
106
+ email : " {{ .Env.COMMIT_AUTHOR_EMAIL }}"
Original file line number Diff line number Diff line change @@ -25,12 +25,19 @@ jobs:
25
25
repositories : |
26
26
gdshader-language-server
27
27
homebrew-tap
28
+ - name : Get GitHub App User ID
29
+ id : get-user-id
30
+ run : echo "user-id=$(gh api "/users/${{ steps.app-token.outputs.app-slug }}[bot]" --jq .id)" >> "$GITHUB_OUTPUT"
31
+ env :
32
+ GH_TOKEN : ${{ steps.app-token.outputs.token }}
28
33
- name : Build and upload assets
29
34
uses : goreleaser/goreleaser-action@v6
30
35
with :
31
36
version : ' ~> v2'
32
37
args : release --config .github/.goreleaser.yaml --clean
33
38
env :
39
+ COMMIT_AUTHOR_NAME : ' ${{ steps.app-token.outputs.app-slug }}[bot]'
40
+ COMMIT_AUTHOR_EMAIL : ' ${{ steps.get-user-id.outputs.user-id }}+${{ steps.app-token.outputs.app-slug }}[bot]@users.noreply.github.com'
34
41
GITHUB_TOKEN : ${{ steps.app-token.outputs.token }}
35
42
MACOS_SIGN_P12 : ${{ secrets.MACOS_SIGN_P12 }}
36
43
MACOS_SIGN_PASSWORD : ${{ secrets.MACOS_SIGN_PASSWORD }}
You can’t perform that action at this time.
0 commit comments