File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -8575,7 +8575,7 @@ async function run() {
85758575 head_sha: github.context.payload.pull_request ? github.context.payload.pull_request.head.sha : github.context.sha,
85768576 });
85778577 console.log("created check run ID", id);
8578- fs.appendFileSync('GITHUB_ENV. env', ` CHECK_RUN_ID= ${id}`) ;
8578+ process. env[' CHECK_RUN_ID'] = ` ${id.data.id}` ;
85798579
85808580 console.log("read from env variabale", process.env.CHECK_RUN_ID)
85818581
@@ -8584,7 +8584,7 @@ async function run() {
85848584 const res = await octokit.rest.checks.update({
85858585 owner : owner,
85868586 repo : repo,
8587- check_run_id: id.data.id ,
8587+ check_run_id: process.env.CHECK_RUN_ID ,
85888588 status: "completed",
85898589 conclusion: "action_required",
85908590 completed_at: new Date(),
You can’t perform that action at this time.
0 commit comments