Skip to content

Commit 6d0612a

Browse files
committed
Assign the PR to the merge actor
1 parent 2a16ef8 commit 6d0612a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/cherryPick.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ jobs:
8080
uses: Expensify/App/.github/actions/getMergeCommitForPullRequest@main
8181
with:
8282
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
83+
USER: ${{ github.actor }}
8384
PULL_REQUEST_NUMBER: ${{ github.event.inputs.PULL_REQUEST_NUMBER }}
8485

8586
- name: Save correct NEW_VERSION to env
@@ -157,7 +158,7 @@ jobs:
157158
with:
158159
number: ${{ steps.createPullRequest.outputs.pr_number }}
159160
github_token: ${{ secrets.GITHUB_TOKEN }}
160-
assignees: ${{ github.actor }}
161+
assignees: ${{ steps.getCPMergeCommit.outputs.MERGE_ACTOR }}
161162

162163
- name: If PR has merge conflicts, comment with instructions for assignee
163164
if: ${{ steps.cherryPick.outputs.SHOULD_AUTOMERGE == 'false' || steps.isPullRequestMergeable.outputs.IS_MERGEABLE == 'false' }}

0 commit comments

Comments
 (0)