diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index 4a9d485..8c65988 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -88,8 +88,8 @@ jobs: const owner = "${{github.repository_owner}}"; const repo = "${{github.event.repository.name}}"; const pull_number = ${{github.event.pull_request.number}}; - const reviewers = "${{inputs.reviewers}}".split(',').filter((reviewer) => reviewer); - const team_reviewers = "${{inputs.team-reviewers}}".split(',').filter((reviewer) => reviewer); + const reviewers = "${{github.event.inputs.reviewers}}".split(',').filter((reviewer) => reviewer); + const team_reviewers = "${{github.event.inputs.team-reviewers}}".split(',').filter((reviewer) => reviewer); console.log(`@${owner}/${repo}#${pull_number}: Requesting review from ${reviewers.concat(team_reviewers)}`);