From 2ef3a386de61c1b77a19cfb7c710521dc265d2de Mon Sep 17 00:00:00 2001 From: jrandolf <101637635+jrandolf@users.noreply.github.com> Date: Thu, 19 May 2022 15:13:16 +0200 Subject: [PATCH] fix: configure git for release workflow (#8372) --- .github/workflows/publish-on-tag.yml | 6 ++++-- .github/workflows/release.yml | 4 ++++ 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish-on-tag.yml b/.github/workflows/publish-on-tag.yml index bcee3cabcb2..2f1508a64ce 100644 --- a/.github/workflows/publish-on-tag.yml +++ b/.github/workflows/publish-on-tag.yml @@ -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 '' - 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 '' git add -A git commit -m "chore: bump version to ${{ steps.post-version.outputs.VERSION }}" git push diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a273f4f6306..b3a17d426e5 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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 '' - name: Release id: release run: |