From 79f044164855a452d5c0439b33862f0d7f78bc42 Mon Sep 17 00:00:00 2001 From: Joey Parrish Date: Tue, 22 Mar 2022 11:58:20 -0700 Subject: [PATCH] fix: Try creating release PRs as shaka-bot --- .github/workflows/release-please.yaml | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/.github/workflows/release-please.yaml b/.github/workflows/release-please.yaml index db338321361..e4f024a9e90 100644 --- a/.github/workflows/release-please.yaml +++ b/.github/workflows/release-please.yaml @@ -43,11 +43,9 @@ jobs: sed -e "s/^\\(shaka.Player.version =\\).*/\\1 '$VERSION';/" \ -i lib/player.js git add lib/player.js - # Emulate the actions bot. - git config user.name "github-actions[bot]" - git config user.email "41898282+github-actions[bot]@users.noreply.github.com" - # Update the PR. - git commit --amend --no-edit + # Update the PR as shaka-bot. + git commit --amend --no-edit \ + --author="Shaka Bot <13107131+shaka-bot@users.noreply.github.com>" git push -f # The jobs below are all conditional on a release having been created by @@ -61,9 +59,6 @@ jobs: - uses: actions/checkout@v2 - name: Tag the main branch run: | - # Emulate the actions bot. - git config user.name "github-actions[bot]" - git config user.email "41898282+github-actions[bot]@users.noreply.github.com" VERSION=${{ needs.release.outputs.tag_name }} git tag -m "$VERSION-main" "$VERSION-main" git push origin "$VERSION-main"