Skip to content

Commit

Permalink
rebuild
Browse files Browse the repository at this point in the history
  • Loading branch information
liweijie0812 committed Jan 18, 2025
1 parent 91cf854 commit bb98ee1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -29938,7 +29938,7 @@ function run() {
const repo = (0, core_1.getInput)('repo') || github_1.context.repo.repo;
const owner = (0, core_1.getInput)('owner') || github_1.context.repo.owner;
const pr_number = (0, core_1.getInput)('pr_number') || github_1.context.issue.number;
const token = (0, core_1.getInput)('token') || '';
const token = (0, core_1.getInput)('token', { required: true });
const trigger = (0, core_1.getInput)('trigger') || ((_a = github_1.context.payload.comment) === null || _a === void 0 ? void 0 : _a.body) || '';
(0, core_1.info)(`context:${JSON.stringify(github_1.context, null, 2)}`);
if (github_1.context.eventName === 'issue_comment' && github_1.context.payload.pull_request) {
Expand Down
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export async function run(): Promise<void> {
const repo = getInput('repo') || context.repo.repo
const owner = getInput('owner') || context.repo.owner
const pr_number = getInput('pr_number') || context.issue.number
const token = getInput('token') || ''
const token = getInput('token', { required: true })
const trigger = getInput('trigger') || context.payload.comment?.body || ''
info(`context:${JSON.stringify(context, null, 2)}`)
if (context.eventName === 'issue_comment' && context.payload.pull_request) {
Expand Down

0 comments on commit bb98ee1

Please sign in to comment.