GitHub check

Whole log, 3 KB
2026-10-24T22:16:08.0521814Z Current runner version: '2.338.0'
2026-10-24T22:16:08.0550624Z ##[group]Runner Image Provisioner
2026-10-24T22:16:08.0551600Z Hosted Compute Agent
2026-10-24T22:16:08.0552189Z Version: 20261021.618
2026-10-24T22:16:08.0552797Z Commit: 21505ad2541d5be6135ed84fc33697146cf75b8e
2026-10-24T22:16:08.0553509Z Build Date: 2026-10-21T00:45:21Z
2026-10-24T22:16:08.0554144Z Worker ID: {b3296c0e-654d-42b4-990e-7492ee17954b}
2026-10-24T22:16:08.0554830Z Region: northcentralus
2026-10-24T22:16:08.0555417Z Cloud: Azure
2026-10-24T22:16:08.0556151Z ##[endgroup]
2026-10-24T22:16:08.0557535Z ##[group]Operating System
2026-10-24T22:16:08.0558126Z Ubuntu
2026-10-24T22:16:08.0558629Z 24.04.5
2026-10-24T22:16:08.0559275Z LTS
2026-10-24T22:16:08.0559895Z ##[endgroup]
2026-10-24T22:16:08.0560559Z ##[group]Runner Image
2026-10-24T22:16:08.0561288Z Image: ubuntu-24.04
2026-10-24T22:16:08.0561993Z Version: 20261012.334.1
2026-10-24T22:16:08.0563530Z Included Software: https://github.com/actions/runner-images/blob/ubuntu24/20261012.334/images/ubuntu/Ubuntu2404-Readme.md
2026-10-24T22:16:08.0565220Z Image Release: https://github.com/actions/runner-images/releases/tag/ubuntu24%2F20261012.334
2026-10-24T22:16:08.0566391Z ##[endgroup]
2026-10-24T22:16:08.0567684Z ##[group]GITHUB_TOKEN Permissions
2026-10-24T22:16:08.0569906Z Contents: read
2026-10-24T22:16:08.0570657Z Issues: write
2026-10-24T22:16:08.0571271Z Metadata: read
2026-10-24T22:16:08.0571834Z PullRequests: write
2026-10-24T22:16:08.0572392Z ##[endgroup]
2026-10-24T22:16:08.0574677Z Secret source: Actions
2026-10-24T22:16:08.0575590Z Cache mode: read
2026-10-24T22:16:08.0576679Z Prepare workflow directory
2026-10-24T22:16:08.0985346Z Prepare all required actions
2026-10-24T22:16:08.1051015Z Getting action download info
2026-10-24T22:16:08.3094274Z Download action repository 'actions/github-script@v8' (SHA:ed597411d8f924073f98dfc5c65a23a2325f34cd)
2026-10-24T22:16:08.7722485Z Complete job name: Collect PR targets
2026-10-24T22:16:08.8418649Z ##[group]Run actions/github-script@v8
2026-10-24T22:16:08.8419478Z with:
2026-10-24T22:16:08.8424092Z   script: if (context.eventName === "pull_request_target") {
  const pr = context.payload.pull_request;
  core.setOutput("targets", JSON.stringify([{ number: pr.number, user: pr.user.login }]));
  return;
}

if (context.eventName === "issue_comment") {
  const issue = context.payload.issue;
  const body = context.payload.comment?.body ?? "";
  if (!issue?.pull_request || !body.includes("/recheck-vouch")) {
    core.setOutput("targets", "[]");
    return;
  }

  core.setOutput(
    "targets",
    JSON.stringify([{ number: issue.number, user: issue.user.login }]),
  );
  return;
}

const pulls = await github.paginate(github.rest.pulls.list, {
  owner: context.repo.owner,
  repo: context.repo.repo,
  state: "open",
  per_page: 100,
});

const targets = pulls.map((pull) => ({
  number: pull.number,
  user: pull.user.login,
}));
core.setOutput("targets", JSON.stringify(targets));

2026-10-24T22:16:08.8432319Z   github-token: ***
2026-10-24T22:16:08.8432860Z   debug: false
2026-10-24T22:16:08.8433372Z   user-agent: actions/github-script
2026-10-24T22:16:08.8434011Z   result-encoding: json
2026-10-24T22:16:08.8434535Z   retries: 0
2026-10-24T22:16:08.8435076Z   retry-exempt-status-codes: 400,401,403,404,422
2026-10-24T22:16:08.8436035Z ##[endgroup]
2026-10-24T22:16:08.9472139Z Evaluate and set job outputs
2026-10-24T22:16:08.9480795Z Set output 'targets'
2026-10-24T22:16:08.9482891Z Cleaning up orphan processes