Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
galipremsagar committed Apr 8, 2024
1 parent 14865b3 commit a898a27
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/status.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,9 +99,9 @@ jobs:
per_page: perPage,
page: page
});
console.log(page, response);
allJobs = allJobs.concat(response.data.jobs);
console.log(allJobs);
if (response.data.jobs.length < perPage) {
break; // No more jobs to fetch, exit the loop
}
Expand All @@ -113,7 +113,7 @@ jobs:
}
const jobs = await fetchAllJobs(context.repo.owner, context.repo.repo, process.env.WORKFLOW_RUN_ID);
console.log(JSON.stringify(jobs.data.jobs, undefined, 2));
//console.log(JSON.stringify(jobs.data.jobs, undefined, 2));
const job = jobs.data.jobs.find(job => job.name === JOB_NAME);
const JOB_ID = job ? job.id : null;
Expand Down

0 comments on commit a898a27

Please sign in to comment.