Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: configure git for release workflow #8372

Merged
merged 1 commit into from
May 19, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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