We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d223283 commit 4205ae3Copy full SHA for 4205ae3
.github/workflows/release.yml
@@ -33,6 +33,14 @@ jobs:
33
with:
34
token: ${{ steps.app-token.outputs.token }}
35
persist-credentials: false
36
+ - name: Get GitHub App User ID
37
+ id: get-user-id
38
+ run: echo "user-id=$(gh api "/users/${{ steps.app-token.outputs.app-slug }}[bot]" --jq .id)" >> "$GITHUB_OUTPUT"
39
+ env:
40
+ GH_TOKEN: ${{ steps.app-token.outputs.token }}
41
+ - run: |
42
+ git config --global user.name '${{ steps.app-token.outputs.app-slug }}[bot]'
43
+ git config --global user.email '${{ steps.get-user-id.outputs.user-id }}+${{ steps.app-token.outputs.app-slug }}[bot]@users.noreply.github.com>'
44
- name: Semantic Release
45
uses: cycjimmy/semantic-release-action@cb425203a562475bca039ba4dbf90c7f9ac790f4 # v4.1.0
46
0 commit comments