Skip to content

Commit

Permalink
tmp
Browse files Browse the repository at this point in the history
  • Loading branch information
MathieuVeber committed Jun 5, 2024
1 parent f84aa4b commit 9b92225
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ on:
description: A comma-separated list of reviewers (GitHub usernames) to request a review from.
required: false
team-reviewers:
default: backend
type: string
description: A comma-separated list of GitHub teams to request a review from.
required: false
Expand Down Expand Up @@ -89,7 +88,7 @@ jobs:
const repo = "${{github.event.repository.name}}";
const pull_number = ${{github.event.pull_request.number}};
const reviewers = "${{github.event.inputs.reviewers}}".split(',').filter((reviewer) => reviewer);
const team_reviewers = "${{github.event.inputs.team-reviewers}}".split(',').filter((reviewer) => reviewer);
const team_reviewers = "${{github.event.inputs.team-reviewers || 'backend' }}".split(',').filter((reviewer) => reviewer);
console.log(`@${owner}/${repo}#${pull_number}: Requesting review from ${reviewers.concat(team_reviewers)}`);
Expand Down

0 comments on commit 9b92225

Please sign in to comment.