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 313f36d commit de1e80c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 12 deletions.
14 changes: 3 additions & 11 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -30161,16 +30161,16 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
};
Object.defineProperty(exports, "__esModule", ({ value: true }));
exports["default"] = run;
const node_console_1 = __nccwpck_require__(7540);
const core_1 = __nccwpck_require__(9999);
const github_1 = __importDefault(__nccwpck_require__(9764));
const supportTrigger = ['/update-common', '/update-snapshot'];
function run(context) {
return __awaiter(this, void 0, void 0, function* () {
if (!supportTrigger.includes(context.trigger)) {
(0, node_console_1.error)(`${context.repo} 不支持 ${context.trigger} `);
(0, core_1.error)(`${context.repo} 不支持 ${context.trigger} `);
}
const { getPrData } = (0, github_1.default)({ repo: context.repo, owner: context.owner, token: context.token });
(0, node_console_1.info)(`getPrData:${JSON.stringify(getPrData(context.pr_number), null, 2)}`);
(0, core_1.info)(`getPrData:${JSON.stringify(getPrData(context.pr_number), null, 2)}`);
});
}

Expand Down Expand Up @@ -30594,14 +30594,6 @@ module.exports = require("net");

/***/ }),

/***/ 7540:
/***/ ((module) => {

"use strict";
module.exports = require("node:console");

/***/ }),

/***/ 8474:
/***/ ((module) => {

Expand Down
2 changes: 1 addition & 1 deletion src/tdesign/vue.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import type { TriggerContext } from '../utils/trigger'
import { error, info } from 'node:console'
import { error, info } from '@actions/core'

import useGithub from 'src/utils/github'

Expand Down

0 comments on commit de1e80c

Please sign in to comment.