From c06d2d5fb84a25fa2c374d4284b2716ffb2a8aee Mon Sep 17 00:00:00 2001 From: Matt Gallo Date: Thu, 5 Dec 2024 09:15:29 -0500 Subject: [PATCH] fix(actions): use correct reviewing team name --- actions/add-review-labels/action.yml | 3 +++ actions/add-review-labels/index.js | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/actions/add-review-labels/action.yml b/actions/add-review-labels/action.yml index 16469f10c3..4ce07fc763 100644 --- a/actions/add-review-labels/action.yml +++ b/actions/add-review-labels/action.yml @@ -7,6 +7,9 @@ inputs: APP_PRIVATE_KEY: description: GitHub app private key required: true + APP_INSTALLATION_ID: + description: Carbon automation GitHub app installation id + required: true runs: using: 'docker' image: 'Dockerfile' diff --git a/actions/add-review-labels/index.js b/actions/add-review-labels/index.js index f5dbf2bd0b..a9ef6c3942 100644 --- a/actions/add-review-labels/index.js +++ b/actions/add-review-labels/index.js @@ -101,7 +101,7 @@ async function run() { // Get reviewer team data const { data } = await octokit.request('GET /orgs/{org}/teams/{team_slug}', { org: organization.login, - team_slug: 'reviewing-team', // Should be only hardcoded value (outside of the labels) needed within this action. Replace with the appropriate reviewing team that is assigned to review PRs. + team_slug: 'carbon-for-ibm-products-reviewers', // Should be only hardcoded value (outside of the labels) needed within this action. headers: { 'X-GitHub-Api-Version': '2022-11-28', },