GitHub check

Whole log, 10 KB
2026-10-24T02:58:21.8377809Z Current runner version: '2.338.0'
2026-10-24T02:58:21.8428585Z ##[group]Runner Image Provisioner
2026-10-24T02:58:21.8429847Z Hosted Compute Agent
2026-10-24T02:58:21.8430458Z Version: 20261021.618
2026-10-24T02:58:21.8431085Z Commit: 21505ad2541d5be6135ed84fc33697146cf75b8e
2026-10-24T02:58:21.8431868Z Build Date: 2026-10-21T00:45:21Z
2026-10-24T02:58:21.8432602Z Worker ID: {e1edee1f-90c4-42f9-98c6-ba65ee4edf90}
2026-10-24T02:58:21.8433673Z Region: eastus
2026-10-24T02:58:21.8434481Z Cloud: Azure
2026-10-24T02:58:21.8435023Z ##[endgroup]
2026-10-24T02:58:21.8437402Z ##[group]Operating System
2026-10-24T02:58:21.8438097Z Ubuntu
2026-10-24T02:58:21.8438709Z 24.04.5
2026-10-24T02:58:21.8439247Z LTS
2026-10-24T02:58:21.8439760Z ##[endgroup]
2026-10-24T02:58:21.8440395Z ##[group]Runner Image
2026-10-24T02:58:21.8441088Z Image: ubuntu-24.04
2026-10-24T02:58:21.8441728Z Version: 20261012.334.1
2026-10-24T02:58:21.8443035Z Included Software: https://github.com/actions/runner-images/blob/ubuntu24/20261012.334/images/ubuntu/Ubuntu2404-Readme.md
2026-10-24T02:58:21.8445035Z Image Release: https://github.com/actions/runner-images/releases/tag/ubuntu24%2F20261012.334
2026-10-24T02:58:21.8446048Z ##[endgroup]
2026-10-24T02:58:21.8447410Z ##[group]GITHUB_TOKEN Permissions
2026-10-24T02:58:21.8450253Z Contents: read
2026-10-24T02:58:21.8450959Z Issues: write
2026-10-24T02:58:21.8451559Z Metadata: read
2026-10-24T02:58:21.8452141Z PullRequests: write
2026-10-24T02:58:21.8452784Z ##[endgroup]
2026-10-24T02:58:21.8455269Z Secret source: Actions
2026-10-24T02:58:21.8456355Z Cache mode: read
2026-10-24T02:58:21.8457565Z Prepare workflow directory
2026-10-24T02:58:21.8808749Z Prepare all required actions
2026-10-24T02:58:21.8859603Z Getting action download info
2026-10-24T02:58:22.1229631Z Download action repository 'mitchellh/vouch@v1' (SHA:d66fa29a64600490892131ad87597c30c91fcac4)
2026-10-24T02:58:22.3157384Z Download action repository 'actions/github-script@v8' (SHA:ed597411d8f924073f98dfc5c65a23a2325f34cd)
2026-10-24T02:58:22.5025801Z Getting action download info
2026-10-24T02:58:22.5902384Z Download action repository 'hustcer/setup-nu@920172d92eb04671776f3ba69d605d3b09351c30' (SHA:920172d92eb04671776f3ba69d605d3b09351c30)
2026-10-24T02:58:22.7373326Z Complete job name: Label PR 24314
2026-10-24T02:58:22.8361385Z ##[group]Run mitchellh/vouch/action/check-user@v1
2026-10-24T02:58:22.8362444Z with:
2026-10-24T02:58:22.8362936Z   user: juliusmarminge
2026-10-24T02:58:22.8363862Z   allow-fail: true
2026-10-24T02:58:22.8364363Z   vouched-file: .github/VOUCHED.td
2026-10-24T02:58:22.8365255Z env:
2026-10-24T02:58:22.8369136Z   GITHUB_TOKEN: ***
2026-10-24T02:58:22.8369604Z ##[endgroup]
2026-10-24T02:58:22.8440195Z ##[start-action display=Run hustcer/setup-nu@920172d92eb04671776f3ba69d605d3b09351c30;id=vouch.__hustcer_setup-nu]
2026-10-24T02:58:22.8534714Z ##[group]Run hustcer/setup-nu@920172d92eb04671776f3ba69d605d3b09351c30
2026-10-24T02:58:22.8535495Z with:
2026-10-24T02:58:22.8535915Z   version: *
2026-10-24T02:58:22.8536346Z   features: default
2026-10-24T02:58:22.8536849Z   check-latest: false
2026-10-24T02:58:22.8537331Z   enable-plugins: false
2026-10-24T02:58:22.8541137Z   github-token: ***
2026-10-24T02:58:22.8541599Z env:
2026-10-24T02:58:22.8545524Z   GITHUB_TOKEN: ***
2026-10-24T02:58:22.8546047Z ##[endgroup]
2026-10-24T02:58:23.0018748Z versionSpec: *
2026-10-24T02:58:23.0019490Z coerce version: *
2026-10-24T02:58:23.6117012Z Try to get assets for Nu: arch = x64, platform = linux, feature = default
2026-10-24T02:58:24.1551632Z [command]/usr/bin/tar xz --warning=no-unknown-keyword --overwrite -C /home/runner/work/_temp/37cf7a00-959a-414f-82fb-368e09c39d72 -f /home/runner/work/_temp/f58cb6db-1a3e-498a-a859-b94bbda2f2a9
2026-10-24T02:58:26.1708264Z Successfully setup Nu 0.116.1, with default features.
2026-10-24T02:58:26.1723947Z Current directory: /home/runner/work/t3code/t3code
2026-10-24T02:58:26.1938998Z ##[end-action id=vouch.__hustcer_setup-nu;outcome=success;conclusion=success;duration_ms=3349]
2026-10-24T02:58:26.1984362Z ##[start-action display=Run use "/home/runner/work/_actions/mitchellh/vouch/v1/action/check-user/../../vouch" *;id=vouch.run]
2026-10-24T02:58:26.2032665Z ##[group]Run use "/home/runner/work/_actions/mitchellh/vouch/v1/action/check-user/../../vouch" *
2026-10-24T02:58:26.2033878Z use "/home/runner/work/_actions/mitchellh/vouch/v1/action/check-user/../../vouch" *
2026-10-24T02:58:26.2034458Z
2026-10-24T02:58:26.2034790Z let repo_data = (gh-check-user "juliusmarminge"
2026-10-24T02:58:26.2035200Z   -R "pingdotgg/t3code"
2026-10-24T02:58:26.2035518Z   --vouched-repo ""
2026-10-24T02:58:26.2035852Z   --vouched-file ".github/VOUCHED.td"
2026-10-24T02:58:26.2036193Z )
2026-10-24T02:58:26.2036430Z
2026-10-24T02:58:26.2036682Z let status = $repo_data.status
2026-10-24T02:58:26.2037075Z print $"User juliusmarminge: ($status)"
2026-10-24T02:58:26.2037506Z let vouched = $status in ["bot", "collaborator", "vouched"]
2026-10-24T02:58:26.2037954Z $"status=($status)\nvouched=($vouched)"
2026-10-24T02:58:26.2038345Z   | save --append $env.GITHUB_OUTPUT
2026-10-24T02:58:26.2038668Z
2026-10-24T02:58:26.2038914Z if "true" != "true" {
2026-10-24T02:58:26.2039246Z   if $status in ["denounced", "unknown"] {
2026-10-24T02:58:26.2039585Z     error make {
2026-10-24T02:58:26.2039939Z       msg: $"User juliusmarminge is not vouched \(($status))"
2026-10-24T02:58:26.2040322Z     }
2026-10-24T02:58:26.2040556Z   }
2026-10-24T02:58:26.2040793Z }
2026-10-24T02:58:26.2046759Z shell: /opt/hostedtoolcache/nushell/0.116.1/x64/nu {0}
2026-10-24T02:58:26.2047171Z env:
2026-10-24T02:58:26.2049968Z   GITHUB_TOKEN: ***
2026-10-24T02:58:26.2050269Z ##[endgroup]
2026-10-24T02:58:26.2356259Z Warning: nu::parser::deprecated
2026-10-24T02:58:26.2356737Z
2026-10-24T02:58:26.2356924Z   ! Command deprecated.
2026-10-24T02:58:26.2357692Z     ,-[/home/runner/work/_actions/mitchellh/vouch/v1/action/check-user/../../vouch/file.nu:43:25]
2026-10-24T02:58:26.2358730Z  42 | export def parse-handle [handle: string] {
2026-10-24T02:58:26.2359853Z  43 |   let parts = $handle | str downcase | split row ":" --number 2
2026-10-24T02:58:26.2360686Z     :                         ^^^^^^|^^^^^
2026-10-24T02:58:26.2361655Z     :                               `-- str downcase was deprecated in 0.114.0 and will be removed in a future release.
2026-10-24T02:58:26.2362549Z  44 |   if ($parts | length) > 1 {
2026-10-24T02:58:26.2363003Z     `----
2026-10-24T02:58:26.2363423Z   help: Use `str lowercase` instead.
2026-10-24T02:58:26.2363704Z
2026-10-24T02:58:26.4449987Z User juliusmarminge: collaborator
2026-10-24T02:58:26.4496299Z ##[end-action id=vouch.run;outcome=success;conclusion=success;duration_ms=251]
2026-10-24T02:58:26.4711904Z ##[group]Run actions/github-script@v8
2026-10-24T02:58:26.4712308Z with:
2026-10-24T02:58:26.4720694Z   script: const issueNumber = Number(process.env.PR_NUMBER);
const status = process.env.VOUCH_STATUS;
const managedLabels = [
  {
    name: "vouch:trusted",
    color: "1f883d",
    description: "PR author is trusted by repo permissions or the VOUCHED list.",
  },
  {
    name: "vouch:unvouched",
    color: "fbca04",
    description: "PR author is not yet trusted in the VOUCHED list.",
  },
  {
    name: "vouch:denounced",
    color: "d1242f",
    description: "PR author is explicitly blocked by the VOUCHED list.",
  },
];

const managedLabelNames = new Set(managedLabels.map((label) => label.name));

for (const label of managedLabels) {
  try {
    const { data: existing } = await github.rest.issues.getLabel({
      owner: context.repo.owner,
      repo: context.repo.repo,
      name: label.name,
    });

    if (
      existing.color !== label.color ||
      (existing.description ?? "") !== label.description
    ) {
      await github.rest.issues.updateLabel({
        owner: context.repo.owner,
        repo: context.repo.repo,
        name: label.name,
        color: label.color,
        description: label.description,
      });
    }
  } catch (error) {
    if (error.status !== 404) {
      throw error;
    }

    try {
      await github.rest.issues.createLabel({
        owner: context.repo.owner,
        repo: context.repo.repo,
        name: label.name,
        color: label.color,
        description: label.description,
      });
    } catch (createError) {
      if (createError.status !== 422) {
        throw createError;
      }
    }
  }
}

const nextLabelName =
  status === "denounced"
    ? "vouch:denounced"
    : ["bot", "collaborator", "vouched"].includes(status)
      ? "vouch:trusted"
      : "vouch:unvouched";

const { data: currentLabels } = await github.rest.issues.listLabelsOnIssue({
  owner: context.repo.owner,
  repo: context.repo.repo,
  issue_number: issueNumber,
  per_page: 100,
});

for (const label of currentLabels) {
  if (!managedLabelNames.has(label.name) || label.name === nextLabelName) {
    continue;
  }

  try {
    await github.rest.issues.removeLabel({
      owner: context.repo.owner,
      repo: context.repo.repo,
      issue_number: issueNumber,
      name: label.name,
    });
  } catch (removeError) {
    if (removeError.status !== 404) {
      throw removeError;
    }
  }
}

if (!currentLabels.some((label) => label.name === nextLabelName)) {
  await github.rest.issues.addLabels({
    owner: context.repo.owner,
    repo: context.repo.repo,
    issue_number: issueNumber,
    labels: [nextLabelName],
  });
}

core.info(`PR #${issueNumber}: ${status} -> ${nextLabelName}`);

2026-10-24T02:58:26.4731692Z   github-token: ***
2026-10-24T02:58:26.4731966Z   debug: false
2026-10-24T02:58:26.4732232Z   user-agent: actions/github-script
2026-10-24T02:58:26.4732544Z   result-encoding: json
2026-10-24T02:58:26.4732809Z   retries: 0
2026-10-24T02:58:26.4733342Z   retry-exempt-status-codes: 400,401,403,404,422
2026-10-24T02:58:26.4733841Z env:
2026-10-24T02:58:26.4734079Z   PR_NUMBER: 24314
2026-10-24T02:58:26.4734354Z   VOUCH_STATUS: collaborator
2026-10-24T02:58:26.4734638Z ##[endgroup]
2026-10-24T02:58:27.2840861Z PR #24314: collaborator -> vouch:trusted
2026-10-24T02:58:27.2999636Z Cleaning up orphan processes