GitHub check

Whole log, 3 KB
2026-10-24T15:06:17.3619634Z Current runner version: '2.338.0'
2026-10-24T15:06:17.3670302Z ##[group]Runner Image Provisioner
2026-10-24T15:06:17.3672222Z Hosted Compute Agent
2026-10-24T15:06:17.3673183Z Version: 20261012.601
2026-10-24T15:06:17.3673974Z Commit: f3dc54e1fb89da6852db922499a0233137369e1d
2026-10-24T15:06:17.3674710Z Build Date: 2026-10-12T17:48:21Z
2026-10-24T15:06:17.3675558Z Worker ID: {07ded8a1-f1e0-484f-8f6d-4b22e88fb74e}
2026-10-24T15:06:17.3676544Z Region: westcentralus
2026-10-24T15:06:17.3677182Z Cloud: Azure
2026-10-24T15:06:17.3677769Z ##[endgroup]
2026-10-24T15:06:17.3679286Z ##[group]Operating System
2026-10-24T15:06:17.3680057Z Ubuntu
2026-10-24T15:06:17.3680621Z 24.04.5
2026-10-24T15:06:17.3681209Z LTS
2026-10-24T15:06:17.3681814Z ##[endgroup]
2026-10-24T15:06:17.3682400Z ##[group]Runner Image
2026-10-24T15:06:17.3683116Z Image: ubuntu-24.04
2026-10-24T15:06:17.3683704Z Version: 20261012.334.1
2026-10-24T15:06:17.3685062Z Included Software: https://github.com/actions/runner-images/blob/ubuntu24/20261012.334/images/ubuntu/Ubuntu2404-Readme.md
2026-10-24T15:06:17.3686783Z Image Release: https://github.com/actions/runner-images/releases/tag/ubuntu24%2F20261012.334
2026-10-24T15:06:17.3687856Z ##[endgroup]
2026-10-24T15:06:17.3689241Z ##[group]GITHUB_TOKEN Permissions
2026-10-24T15:06:17.3691559Z Contents: read
2026-10-24T15:06:17.3692232Z Issues: write
2026-10-24T15:06:17.3692901Z Metadata: read
2026-10-24T15:06:17.3693557Z PullRequests: write
2026-10-24T15:06:17.3694169Z ##[endgroup]
2026-10-24T15:06:17.3696686Z Secret source: Actions
2026-10-24T15:06:17.3697639Z Cache mode: read
2026-10-24T15:06:17.3698788Z Prepare workflow directory
2026-10-24T15:06:17.4030326Z Prepare all required actions
2026-10-24T15:06:17.4077881Z Getting action download info
2026-10-24T15:06:17.6774458Z Download action repository 'actions/github-script@v8' (SHA:ed597411d8f924073f98dfc5c65a23a2325f34cd)
2026-10-24T15:06:18.3234853Z Complete job name: Collect PR targets
2026-10-24T15:06:18.4103948Z ##[group]Run actions/github-script@v8
2026-10-24T15:06:18.4104940Z with:
2026-10-24T15:06:18.4110225Z   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-24T15:06:18.4118946Z   github-token: ***
2026-10-24T15:06:18.4119476Z   debug: false
2026-10-24T15:06:18.4119998Z   user-agent: actions/github-script
2026-10-24T15:06:18.4120610Z   result-encoding: json
2026-10-24T15:06:18.4121125Z   retries: 0
2026-10-24T15:06:18.4121659Z   retry-exempt-status-codes: 400,401,403,404,422
2026-10-24T15:06:18.4122586Z ##[endgroup]
2026-10-24T15:06:18.5203343Z Evaluate and set job outputs
2026-10-24T15:06:18.5211652Z Set output 'targets'
2026-10-24T15:06:18.5213800Z Cleaning up orphan processes