GitHub check

Whole log, 3 KB
2026-10-24T23:03:58.4068971Z Current runner version: '2.338.0'
2026-10-24T23:03:58.4093943Z ##[group]Runner Image Provisioner
2026-10-24T23:03:58.4094899Z Hosted Compute Agent
2026-10-24T23:03:58.4095716Z Version: 20261021.618
2026-10-24T23:03:58.4096355Z Commit: 21505ad2541d5be6135ed84fc33697146cf75b8e
2026-10-24T23:03:58.4097171Z Build Date: 2026-10-21T00:45:21Z
2026-10-24T23:03:58.4097907Z Worker ID: {7d603651-3471-47af-b6ea-669811a9c79f}
2026-10-24T23:03:58.4098718Z Region: northcentralus
2026-10-24T23:03:58.4099311Z Cloud: Azure
2026-10-24T23:03:58.4099837Z ##[endgroup]
2026-10-24T23:03:58.4102213Z ##[group]Operating System
2026-10-24T23:03:58.4102913Z Ubuntu
2026-10-24T23:03:58.4103506Z 24.04.5
2026-10-24T23:03:58.4104049Z LTS
2026-10-24T23:03:58.4104562Z ##[endgroup]
2026-10-24T23:03:58.4105167Z ##[group]Runner Image
2026-10-24T23:03:58.4106008Z Image: ubuntu-24.04
2026-10-24T23:03:58.4106662Z Version: 20261012.334.1
2026-10-24T23:03:58.4107906Z Included Software: https://github.com/actions/runner-images/blob/ubuntu24/20261012.334/images/ubuntu/Ubuntu2404-Readme.md
2026-10-24T23:03:58.4109504Z Image Release: https://github.com/actions/runner-images/releases/tag/ubuntu24%2F20261012.334
2026-10-24T23:03:58.4110512Z ##[endgroup]
2026-10-24T23:03:58.4111866Z ##[group]GITHUB_TOKEN Permissions
2026-10-24T23:03:58.4114236Z Contents: read
2026-10-24T23:03:58.4114929Z Issues: write
2026-10-24T23:03:58.4115893Z Metadata: read
2026-10-24T23:03:58.4116516Z PullRequests: write
2026-10-24T23:03:58.4117185Z ##[endgroup]
2026-10-24T23:03:58.4119288Z Secret source: Actions
2026-10-24T23:03:58.4120367Z Cache mode: read
2026-10-24T23:03:58.4121101Z Prepare workflow directory
2026-10-24T23:03:58.4528805Z Prepare all required actions
2026-10-24T23:03:58.4599183Z Getting action download info
2026-10-24T23:03:58.6971194Z Download action repository 'actions/github-script@v8' (SHA:ed597411d8f924073f98dfc5c65a23a2325f34cd)
2026-10-24T23:03:59.0869513Z Complete job name: Collect PR targets
2026-10-24T23:03:59.1789163Z ##[group]Run actions/github-script@v8
2026-10-24T23:03:59.1790320Z with:
2026-10-24T23:03:59.1795674Z   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-24T23:03:59.1803912Z   github-token: ***
2026-10-24T23:03:59.1804381Z   debug: false
2026-10-24T23:03:59.1804846Z   user-agent: actions/github-script
2026-10-24T23:03:59.1805578Z   result-encoding: json
2026-10-24T23:03:59.1806054Z   retries: 0
2026-10-24T23:03:59.1806535Z   retry-exempt-status-codes: 400,401,403,404,422
2026-10-24T23:03:59.1807494Z ##[endgroup]
2026-10-24T23:03:59.2853336Z Evaluate and set job outputs
2026-10-24T23:03:59.2860774Z Set output 'targets'
2026-10-24T23:03:59.2863247Z Cleaning up orphan processes