Skip to content

Commit 81198ed

Browse files
Shivanshu SinghShivanshu Singh
authored andcommitted
github action
1 parent 037b78e commit 81198ed

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

dist/index.js

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16149,13 +16149,15 @@ async function run() {
1614916149
});
1615016150
console.log("created check run ID", id);
1615116151

16152-
16152+
async function update(){
16153+
const res = await octokit.rest.checks.update({
16154+
owner : owner,
16155+
repo : repo,
16156+
check_run_id: id.data.id
16157+
})
16158+
}
1615316159

16154-
setTimeout(await octokit.rest.checks.update({
16155-
owner : owner,
16156-
repo : repo,
16157-
check_run_id: id.data.id
16158-
}), 3000)
16160+
setTimeout(update, 3000)
1615916161

1616016162

1616116163

0 commit comments

Comments
 (0)