fix: configure git for release workflow (#8372)

This commit is contained in:
jrandolf 2022-05-19 15:13:16 +02:00 committed by GitHub
parent b4294b2766
commit 2ef3a386de
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 2 deletions

View File

@ -45,6 +45,10 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Configure git
run: |
git config --global user.name 'Puppeteer Bot'
git config --global user.email '<puppeteer@chromium.org>'
- name: Append `-post` to version
id: post-version
run: |
@ -57,8 +61,6 @@ jobs:
npm run doc
- name: Commit and push
run: |
git config user.name 'Github'
git config user.email '<noreply@github.com>'
git add -A
git commit -m "chore: bump version to ${{ steps.post-version.outputs.VERSION }}"
git push

View File

@ -11,6 +11,10 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Configure git
run: |
git config --global user.name 'Puppeteer Bot'
git config --global user.email '<puppeteer@chromium.org>'
- name: Release
id: release
run: |