Skip to content

Commit 59d6a8c

Browse files
committed
Build action
1 parent ada5ebb commit 59d6a8c

File tree

8 files changed

+22
-22
lines changed

8 files changed

+22
-22
lines changed

dist/approver/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63657,7 +63657,7 @@ function run() {
6365763657
});
6365863658
}
6365963659
run()
63660-
.then(() => (0, track_1.track)({ jobID, actionName: 'approver' }))
63660+
.then(() => __awaiter(void 0, void 0, void 0, function* () { return yield (0, track_1.track)({ jobID, actionName: 'approver' }); }))
6366163661
.catch(error => {
6366263662
if (error instanceof Error) {
6366363663
(0, track_1.track)({ jobID, actionName: 'approver', error: error.message });

dist/approver/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/baller/index.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -63644,16 +63644,16 @@ function run() {
6364463644
});
6364563645
}
6364663646
run()
63647-
.then(({ jobId }) => {
63648-
(0, track_1.track)({ jobID: jobId, actionName: 'baller' });
63647+
.then(({ jobId }) => __awaiter(void 0, void 0, void 0, function* () {
63648+
yield (0, track_1.track)({ jobID: jobId, actionName: 'baller' });
6364963649
core.setOutput('codeball-job-id', jobId);
63650-
})
63651-
.catch(error => {
63652-
(0, track_1.track)({ actionName: 'baller', error: error.message });
63650+
}))
63651+
.catch((error) => __awaiter(void 0, void 0, void 0, function* () {
63652+
yield (0, track_1.track)({ actionName: 'baller', error: error.message });
6365363653
if (error instanceof Error) {
6365463654
core.setFailed(error.message);
6365563655
}
63656-
});
63656+
}));
6365763657

6365863658

6365963659
/***/ }),

dist/baller/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/labeler/index.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63685,18 +63685,18 @@ const run = () => __awaiter(void 0, void 0, void 0, function* () {
6368563685
yield octokit.issues.addLabels(addLabelParams);
6368663686
});
6368763687
run()
63688-
.then(() => (0, track_1.track)({ jobID, actionName: 'labeler' }))
63689-
.catch(error => {
63688+
.then(() => __awaiter(void 0, void 0, void 0, function* () { return yield (0, track_1.track)({ jobID, actionName: 'labeler' }); }))
63689+
.catch((error) => __awaiter(void 0, void 0, void 0, function* () {
6369063690
if (error instanceof Error) {
63691-
(0, track_1.track)({ jobID, actionName: 'labeler', error: error.message });
63691+
yield (0, track_1.track)({ jobID, actionName: 'labeler', error: error.message });
6369263692
if (error.message === 'Resource not accessible by integration') {
6369363693
core.setFailed('Codeball Labeler failed to access GitHub. Check the "GITHUB_TOKEN Permissions" of this job and make sure that the job has WRITE permissions to Pull Requests.');
6369463694
}
6369563695
else {
6369663696
core.setFailed(error.message);
6369763697
}
6369863698
}
63699-
});
63699+
}));
6370063700

6370163701

6370263702
/***/ }),

dist/labeler/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/status/index.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -63724,16 +63724,16 @@ const run = (jobID) => __awaiter(void 0, void 0, void 0, function* () {
6372463724
});
6372563725
const jobID = (0, lib_1.required)('codeball-job-id');
6372663726
run(jobID)
63727-
.then(isApproved => {
63728-
(0, track_1.track)({ jobID, actionName: 'status' });
63729-
core.setOutput('approved', isApproved);
63730-
})
63731-
.catch(error => {
63727+
.then((approved) => __awaiter(void 0, void 0, void 0, function* () {
63728+
yield (0, track_1.track)({ jobID, actionName: 'status' });
63729+
core.setOutput('approved', approved);
63730+
}))
63731+
.catch((error) => __awaiter(void 0, void 0, void 0, function* () {
6373263732
if (error instanceof Error) {
63733-
(0, track_1.track)({ jobID, actionName: 'status', error: error.message });
63733+
yield (0, track_1.track)({ jobID, actionName: 'status', error: error.message });
6373463734
core.setFailed(error.message);
6373563735
}
63736-
});
63736+
}));
6373763737

6373863738

6373963739
/***/ }),

dist/status/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)