Skip to content

Commit

Permalink
Properly add assignees and reviewers for cherry picked PRs (microsoft…
Browse files Browse the repository at this point in the history
  • Loading branch information
jakebailey authored Mar 21, 2024
1 parent 91cecdc commit 39fd535
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/create-cherry-pick-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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],
});
Expand Down

0 comments on commit 39fd535

Please sign in to comment.