From c6447d3280b4d4d6ad3dc3d4549467c52bba5903 Mon Sep 17 00:00:00 2001 From: Amir Omidi Date: Thu, 5 Mar 2020 17:13:11 -0800 Subject: [PATCH] Fixes the labeler (#9464) --- build/actions/AutoLabel/dist/index.js | 2 +- build/actions/AutoLabel/src/index.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/build/actions/AutoLabel/dist/index.js b/build/actions/AutoLabel/dist/index.js index 7430d75eac..b403895c6e 100644 --- a/build/actions/AutoLabel/dist/index.js +++ b/build/actions/AutoLabel/dist/index.js @@ -7863,7 +7863,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge Object.defineProperty(exports, "__esModule", { value: true }); const actions_toolkit_1 = __webpack_require__(461); const tools = new actions_toolkit_1.Toolkit({ - event: 'issue_comment', + event: 'pull_request', secrets: ['GITHUB_TOKEN'] }); const label = tools.inputs.label || 'Port Request'; diff --git a/build/actions/AutoLabel/src/index.ts b/build/actions/AutoLabel/src/index.ts index cccbe86c9f..b05d5e08dc 100644 --- a/build/actions/AutoLabel/src/index.ts +++ b/build/actions/AutoLabel/src/index.ts @@ -6,7 +6,7 @@ import { Toolkit } from 'actions-toolkit'; const tools = new Toolkit({ - event: 'issue_comment', + event: 'pull_request', secrets: ['GITHUB_TOKEN'] });