Skip to content

Commit

Permalink
ci: add array length check
Browse files Browse the repository at this point in the history
  • Loading branch information
Integralist committed Jan 3, 2024
1 parent 68d0047 commit a1ceebb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,10 @@ jobs:
const check = checks.check_runs.filter(c => c.name === process.env.job);
if check[0] == undefined {
return;
}
const { data: result } = await github.rest.checks.update({
...context.repo,
check_run_id: check[0].id,
Expand Down

0 comments on commit a1ceebb

Please sign in to comment.