Properly add assignees and reviewers for cherry picked PRs (#57889)

This commit is contained in:
Jake Bailey
2024-03-21 12:06:07 -07:00
committed by GitHub
parent 91cecdc109
commit 39fd53547d

View File

@@ -115,7 +115,19 @@ jobs:
head: pickBranch,
title,
body,
});
await github.rest.issues.addAssignees({
owner: context.repo.owner,
repo: context.repo.repo,
issue_number: newPr.data.number,
assignees: ["DanielRosenwasser"],
});
await github.rest.pulls.requestReviewers({
owner: context.repo.owner,
repo: context.repo.repo,
pull_number: newPr.data.number,
reviewers: ["DanielRosenwasser", REQUESTING_USER],
});