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'] });