Skip to content

Commit

Permalink
fix: configure git for release workflow (#8372)
Browse files Browse the repository at this point in the history
  • Loading branch information
jrandolf-2 authored May 19, 2022
1 parent b4294b2 commit 2ef3a38
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/publish-on-tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand All @@ -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 changes: 4 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down

0 comments on commit 2ef3a38

Please sign in to comment.