Skip to content

Commit

Permalink
qqq
Browse files Browse the repository at this point in the history
  • Loading branch information
MathieuVeber committed Oct 2, 2024
1 parent 634cb1a commit 22bc474
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,12 +74,11 @@ jobs:
const reviewers = "${{ github.event.inputs.reviewers || inputs.reviewers }}".split(',').filter((reviewer) => reviewer);
const team_reviewers = "${{ github.event.inputs.team-reviewers || inputs.team-reviewers }}".split(',').filter((reviewer) => reviewer);
const foo = await github.rest.pulls.listReviewComments({ owner, repo, pull_number });
console.log(JSON.stringify(foo));
console.log(`@${owner}/${repo}#${pull_number}: Requesting review from ${reviewers.concat(team_reviewers)}`);
const { data } = await github.rest.pulls.get({ owner, repo, pull_number });
console.log(data);
await github.rest.pulls.requestReviewers({ owner, repo, pull_number, reviewers, team_reviewers });
- if: >
Expand Down

0 comments on commit 22bc474

Please sign in to comment.