Skip to content

Commit

Permalink
feat: build for release
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Aug 28, 2021
1 parent 4c0f2d2 commit 4ad2c18
Show file tree
Hide file tree
Showing 19 changed files with 166 additions and 141 deletions.
2 changes: 1 addition & 1 deletion build.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"owner":"technote-space","repo":"assign-author","sha":"e7244aac8818fa65a2c5e1028d1792bdec1d9768","ref":"refs/tags/test/v1.5.13.1161061927","tagName":"test/v1.5.13.1161061927","branch":"gh-actions","tags":["test/v1.5.13.1161061927","test/v1.5.13","test/v1.5","test/v1"],"updated_at":"2021-08-24T03:07:59.501Z"}
{"owner":"technote-space","repo":"assign-author","sha":"0fe58a1934ed99274fdebaf4db6a49a05f2cae74","ref":"refs/tags/test/v1.5.13.1176315217","tagName":"test/v1.5.13.1176315217","branch":"gh-actions","tags":["test/v1.5.13.1176315217","test/v1.5.13","test/v1.5","test/v1"],"updated_at":"2021-08-28T03:07:20.228Z"}
8 changes: 4 additions & 4 deletions lib/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,14 @@ const constant_1 = require("./constant");
const run = () => __awaiter(void 0, void 0, void 0, function* () {
const logger = new github_action_log_helper_1.Logger();
const context = new context_1.Context();
github_action_helper_1.ContextHelper.showActionInfo(path_1.resolve(__dirname, '..'), logger, context);
if (!filter_github_action_1.isTargetEvent(constant_1.TARGET_EVENTS, context)) {
github_action_helper_1.ContextHelper.showActionInfo((0, path_1.resolve)(__dirname, '..'), logger, context);
if (!(0, filter_github_action_1.isTargetEvent)(constant_1.TARGET_EVENTS, context)) {
logger.info('This is not target event.');
return;
}
yield process_1.execute(logger, github_action_helper_1.Utils.getOctokit(), context);
yield (0, process_1.execute)(logger, github_action_helper_1.Utils.getOctokit(), context);
});
run().catch(error => {
console.log(error);
core_1.setFailed(error.message);
(0, core_1.setFailed)(error.message);
});
2 changes: 1 addition & 1 deletion lib/process.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ Object.defineProperty(exports, "__esModule", { value: true });
exports.execute = void 0;
const context_1 = require("./utils/context");
const github_1 = require("./utils/github");
const execute = (logger, octokit, context) => __awaiter(void 0, void 0, void 0, function* () { return github_1.addAssignees(context_1.getAssignees(context), octokit, logger, context); });
const execute = (logger, octokit, context) => __awaiter(void 0, void 0, void 0, function* () { return (0, github_1.addAssignees)((0, context_1.getAssignees)(context), octokit, logger, context); });
exports.execute = execute;
114 changes: 57 additions & 57 deletions node_modules/.yarn-integrity

Large diffs are not rendered by default.

43 changes: 27 additions & 16 deletions node_modules/@octokit/graphql/README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

34 changes: 18 additions & 16 deletions node_modules/@octokit/graphql/dist-node/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 4ad2c18

Please sign in to comment.