From 9b92225c0943c146740c2caa46fcc63946a980f0 Mon Sep 17 00:00:00 2001 From: Mathieu Veber Date: Wed, 5 Jun 2024 17:35:43 +0200 Subject: [PATCH] tmp --- .github/workflows/pull-request.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index 8c65988..25a6eb3 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -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 @@ -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)}`);