mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
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:
|
||||
- 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
|
||||
|
4
.github/workflows/release.yml
vendored
4
.github/workflows/release.yml
vendored
@ -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: |
|
||||
|
Loading…
Reference in New Issue
Block a user