Skip to content

Commit 0a73b68

Browse files
committed
Build action
1 parent 5479c6d commit 0a73b68

5 files changed

Lines changed: 6 additions & 9 deletions

File tree

dist/approver/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ const node_fetch_1 = __importDefault(__nccwpck_require__(4429));
2323
const utils_1 = __nccwpck_require__(9465);
2424
function getJob(id) {
2525
return __awaiter(this, void 0, void 0, function* () {
26-
const res = yield (0, node_fetch_1.default)(`https://api.codeball.forfunc.com/jobs/${id}`);
26+
const res = yield (0, node_fetch_1.default)(`https://api.codeball.ai/jobs/${id}`);
2727
const data = (yield res.json());
2828
return data;
2929
});
@@ -87,7 +87,7 @@ function run() {
8787
approved ? 'Approved ✅' : 'Not approved'
8888
]
8989
])
90-
.addLink('View on web', `https://codeball.forfunc.com/prediction/${jobID}`)
90+
.addLink('View on web', `https://codeball.ai/prediction/${jobID}`)
9191
.write();
9292
}
9393
catch (error) {

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: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ function run() {
3636
url: pullRequestURL,
3737
access_token: core.getInput('GITHUB_TOKEN')
3838
};
39-
const response = yield (0, node_fetch_1.default)('https://api.codeball.forfunc.com/jobs', {
39+
const response = yield (0, node_fetch_1.default)('https://api.codeball.ai/jobs', {
4040
method: 'POST',
4141
body: JSON.stringify(data)
4242
});

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.

src/approver/main.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -81,10 +81,7 @@ async function run(): Promise<void> {
8181
approved ? 'Approved ✅' : 'Not approved'
8282
]
8383
])
84-
.addLink(
85-
'View on web',
86-
`https://codeball.ai/prediction/${jobID}`
87-
)
84+
.addLink('View on web', `https://codeball.ai/prediction/${jobID}`)
8885
.write()
8986
} catch (error) {
9087
if (error instanceof Error) core.setFailed(error.message)

0 commit comments

Comments
 (0)