Skip to content

Commit

Permalink
AutoCherrypicked PRs author is now parent PRs author
Browse files Browse the repository at this point in the history
  • Loading branch information
jyejare authored and JacobCallahan committed Sep 20, 2022
1 parent 2a3c65e commit 2f6d1d5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/auto_cherry_pick.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ jobs:
if: github.event.pull_request.merged == true && contains(github.event.pull_request.labels.*.name, 'CherryPick')
needs: previous-branch
runs-on: ubuntu-latest
env:
PR_AUTHOR: ${{ github.event.pull_request.user.login }}
strategy:
matrix:
to_branch: ${{ fromJson(needs.previous-branch.outputs.previous_branch) }}
Expand All @@ -35,6 +37,7 @@ jobs:
- name: Cherry pick into ${{ matrix.to_branch }}
uses: jyejare/github-cherry-pick-action@main
with:
author: ${{ env.PR_AUTHOR }} <${{ env.PR_AUTHOR }}@users.noreply.github.com>
token: ${{ secrets.CHERRYPICK_PAT }}
branch: ${{ matrix.to_branch }}
labels: |
Expand Down

0 comments on commit 2f6d1d5

Please sign in to comment.