Skip to content

Commit a5fac86

Browse files
committed
chore(release): use own GH app for releasing
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>
1 parent 6e3c637 commit a5fac86

1 file changed

Lines changed: 2 additions & 8 deletions

File tree

.github/workflows/release.yml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -125,14 +125,6 @@ jobs:
125125
with:
126126
fetch-depth: 0
127127
token: ${{ steps.release-bot-token.outputs.token }}
128-
- name: git config
129-
run: |
130-
set -xeu
131-
git config user.name '${{ steps.release-bot-token.outputs.app-slug }}[bot]'
132-
git config user.email '${{ steps.release-bot-user-id.outputs.user-id }}+${{ steps.release-bot-token.outputs.app-slug }}[bot]@users.noreply.github.com'
133-
git config commit.signoff true
134-
git commit --allow-empty -m 'chore(release): testing'
135-
git log -1
136128

137129
- name: Setup python
138130
# see https://github.com/actions/setup-python
@@ -159,6 +151,8 @@ jobs:
159151
# see https://github.com/python-semantic-release/python-semantic-release
160152
uses: python-semantic-release/python-semantic-release@v10.0.2
161153
with:
154+
git_committer_name: ${{ steps.release-bot-token.outputs.app-slug }}[bot]
155+
git_committer_email: ${{ steps.release-bot-user-id.outputs.user-id }}+${{ steps.release-bot-token.outputs.app-slug }}[bot]@users.noreply.github.com
162156
github_token: ${{ steps.release-bot-token.outputs.token }}
163157
force: ${{ github.event.inputs.release_force }}
164158
prerelease: ${{ github.event.inputs.prerelease }}

0 commit comments

Comments
 (0)