We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d40647c commit 8bba78eCopy full SHA for 8bba78e
.github/workflows/release.yml
@@ -52,8 +52,18 @@ jobs:
52
- name: Build the project
53
run: yarn rollup
54
55
+ - name: Get GitHub App User ID
56
+ id: get-user-id
57
+ run: echo "user-id=$(gh api "/users/octo-sts[bot]" --jq .id)" >> "$GITHUB_OUTPUT"
58
+ env:
59
+ GH_TOKEN: ${{ steps.octo-sts.outputs.token }}
60
+
61
- name: Bump and Release
62
env:
63
GITHUB_TOKEN: ${{ steps.octo-sts.outputs.token }}
64
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
65
+ GIT_AUTHOR_NAME: octo-sts[bot]
66
+ GIT_AUTHOR_EMAIL: ${{ steps.get-user-id.outputs.user-id }}+octo-sts[bot]@users.noreply.github.com
67
+ GIT_COMMITTER_NAME: octo-sts[bot]
68
+ GIT_COMMITTER_EMAIL: ${{ steps.get-user-id.outputs.user-id }}+octo-sts[bot]@users.noreply.github.com
69
run: npx semantic-release
0 commit comments