fix: configure git for release workflow (#8372)
This commit is contained in:
parent
b4294b2766
commit
2ef3a386de
6
.github/workflows/publish-on-tag.yml
vendored
6
.github/workflows/publish-on-tag.yml
vendored
@ -45,6 +45,10 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3
|
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
|
- name: Append `-post` to version
|
||||||
id: post-version
|
id: post-version
|
||||||
run: |
|
run: |
|
||||||
@ -57,8 +61,6 @@ jobs:
|
|||||||
npm run doc
|
npm run doc
|
||||||
- name: Commit and push
|
- name: Commit and push
|
||||||
run: |
|
run: |
|
||||||
git config user.name 'Github'
|
|
||||||
git config user.email '<noreply@github.com>'
|
|
||||||
git add -A
|
git add -A
|
||||||
git commit -m "chore: bump version to ${{ steps.post-version.outputs.VERSION }}"
|
git commit -m "chore: bump version to ${{ steps.post-version.outputs.VERSION }}"
|
||||||
git push
|
git push
|
||||||
|
4
.github/workflows/release.yml
vendored
4
.github/workflows/release.yml
vendored
@ -11,6 +11,10 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3
|
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
|
- name: Release
|
||||||
id: release
|
id: release
|
||||||
run: |
|
run: |
|
||||||
|
Loading…
Reference in New Issue
Block a user