GitHub check

Whole log, 10 KB
2026-10-24T08:48:46.8699393Z Current runner version: '2.338.0'
2026-10-24T08:48:46.8719464Z ##[group]Runner Image Provisioner
2026-10-24T08:48:46.8720207Z Hosted Compute Agent
2026-10-24T08:48:46.8720745Z Version: 20261021.618
2026-10-24T08:48:46.8721411Z Commit: 21505ad2541d5be6135ed84fc33697146cf75b8e
2026-10-24T08:48:46.8722036Z Build Date: 2026-10-21T00:45:21Z
2026-10-24T08:48:46.8722645Z Worker ID: {3fafc6e0-0d71-4cb3-86cb-8abcd55f2ea9}
2026-10-24T08:48:46.8723217Z Region: westus3
2026-10-24T08:48:46.8723659Z Cloud: Azure
2026-10-24T08:48:46.8724158Z ##[endgroup]
2026-10-24T08:48:46.8725248Z ##[group]Operating System
2026-10-24T08:48:46.8725801Z Ubuntu
2026-10-24T08:48:46.8726302Z 24.04.5
2026-10-24T08:48:46.8726723Z LTS
2026-10-24T08:48:46.8727215Z ##[endgroup]
2026-10-24T08:48:46.8727708Z ##[group]Runner Image
2026-10-24T08:48:46.8728236Z Image: ubuntu-24.04
2026-10-24T08:48:46.8728728Z Version: 20261012.334.1
2026-10-24T08:48:46.8729794Z Included Software: https://github.com/actions/runner-images/blob/ubuntu24/20261012.334/images/ubuntu/Ubuntu2404-Readme.md
2026-10-24T08:48:46.8731206Z Image Release: https://github.com/actions/runner-images/releases/tag/ubuntu24%2F20261012.334
2026-10-24T08:48:46.8732037Z ##[endgroup]
2026-10-24T08:48:46.8733114Z ##[group]GITHUB_TOKEN Permissions
2026-10-24T08:48:46.8734639Z Contents: read
2026-10-24T08:48:46.8735176Z Issues: write
2026-10-24T08:48:46.8735637Z Metadata: read
2026-10-24T08:48:46.8736144Z PullRequests: write
2026-10-24T08:48:46.8736655Z ##[endgroup]
2026-10-24T08:48:46.8738281Z Secret source: Actions
2026-10-24T08:48:46.8739071Z Cache mode: read
2026-10-24T08:48:46.8739803Z Prepare workflow directory
2026-10-24T08:48:46.9518563Z Prepare all required actions
2026-10-24T08:48:46.9560873Z Getting action download info
2026-10-24T08:48:47.2412247Z Download action repository 'mitchellh/vouch@v1' (SHA:d66fa29a64600490892131ad87597c30c91fcac4)
2026-10-24T08:48:47.7149662Z Download action repository 'actions/github-script@v8' (SHA:ed597411d8f924073f98dfc5c65a23a2325f34cd)
2026-10-24T08:48:48.6575510Z Getting action download info
2026-10-24T08:48:48.7822934Z Download action repository 'hustcer/setup-nu@920172d92eb04671776f3ba69d605d3b09351c30' (SHA:920172d92eb04671776f3ba69d605d3b09351c30)
2026-10-24T08:48:49.4814445Z Complete job name: Label PR 24356
2026-10-24T08:48:49.5515880Z ##[group]Run mitchellh/vouch/action/check-user@v1
2026-10-24T08:48:49.5516410Z with:
2026-10-24T08:48:49.5516634Z   user: Ethereal49
2026-10-24T08:48:49.5516856Z   allow-fail: true
2026-10-24T08:48:49.5517090Z   vouched-file: .github/VOUCHED.td
2026-10-24T08:48:49.5517429Z env:
2026-10-24T08:48:49.5519422Z   GITHUB_TOKEN: ***
2026-10-24T08:48:49.5519657Z ##[endgroup]
2026-10-24T08:48:49.5567608Z ##[start-action display=Run hustcer/setup-nu@920172d92eb04671776f3ba69d605d3b09351c30;id=vouch.__hustcer_setup-nu]
2026-10-24T08:48:49.5623164Z ##[group]Run hustcer/setup-nu@920172d92eb04671776f3ba69d605d3b09351c30
2026-10-24T08:48:49.5623529Z with:
2026-10-24T08:48:49.5623744Z   version: *
2026-10-24T08:48:49.5623961Z   features: default
2026-10-24T08:48:49.5624191Z   check-latest: false
2026-10-24T08:48:49.5624420Z   enable-plugins: false
2026-10-24T08:48:49.5626334Z   github-token: ***
2026-10-24T08:48:49.5626561Z env:
2026-10-24T08:48:49.5628371Z   GITHUB_TOKEN: ***
2026-10-24T08:48:49.5628617Z ##[endgroup]
2026-10-24T08:48:49.6680991Z versionSpec: *
2026-10-24T08:48:49.6681711Z coerce version: *
2026-10-24T08:48:50.4771943Z Try to get assets for Nu: arch = x64, platform = linux, feature = default
2026-10-24T08:48:51.0373748Z [command]/usr/bin/tar xz --warning=no-unknown-keyword --overwrite -C /home/runner/work/_temp/2fd3ee41-fba4-4524-9cc5-616e1a25542d -f /home/runner/work/_temp/c15fb5de-108c-4a24-b533-5337c8223dcd
2026-10-24T08:48:53.9740441Z Successfully setup Nu 0.116.1, with default features.
2026-10-24T08:48:53.9752553Z Current directory: /home/runner/work/t3code/t3code
2026-10-24T08:48:53.9912160Z ##[end-action id=vouch.__hustcer_setup-nu;outcome=success;conclusion=success;duration_ms=4434]
2026-10-24T08:48:53.9945130Z ##[start-action display=Run use "/home/runner/work/_actions/mitchellh/vouch/v1/action/check-user/../../vouch" *;id=vouch.run]
2026-10-24T08:48:53.9973772Z ##[group]Run use "/home/runner/work/_actions/mitchellh/vouch/v1/action/check-user/../../vouch" *
2026-10-24T08:48:53.9974366Z use "/home/runner/work/_actions/mitchellh/vouch/v1/action/check-user/../../vouch" *
2026-10-24T08:48:53.9974722Z
2026-10-24T08:48:53.9974929Z let repo_data = (gh-check-user "Ethereal49"
2026-10-24T08:48:53.9975197Z   -R "pingdotgg/t3code"
2026-10-24T08:48:53.9975406Z   --vouched-repo ""
2026-10-24T08:48:53.9975622Z   --vouched-file ".github/VOUCHED.td"
2026-10-24T08:48:53.9975842Z )
2026-10-24T08:48:53.9975991Z
2026-10-24T08:48:53.9976166Z let status = $repo_data.status
2026-10-24T08:48:53.9976419Z print $"User Ethereal49: ($status)"
2026-10-24T08:48:53.9976714Z let vouched = $status in ["bot", "collaborator", "vouched"]
2026-10-24T08:48:53.9977016Z $"status=($status)\nvouched=($vouched)"
2026-10-24T08:48:53.9977283Z   | save --append $env.GITHUB_OUTPUT
2026-10-24T08:48:53.9977512Z
2026-10-24T08:48:53.9977682Z if "true" != "true" {
2026-10-24T08:48:53.9977906Z   if $status in ["denounced", "unknown"] {
2026-10-24T08:48:53.9978141Z     error make {
2026-10-24T08:48:53.9978383Z       msg: $"User Ethereal49 is not vouched \(($status))"
2026-10-24T08:48:53.9978633Z     }
2026-10-24T08:48:53.9978795Z   }
2026-10-24T08:48:53.9978949Z }
2026-10-24T08:48:53.9983026Z shell: /opt/hostedtoolcache/nushell/0.116.1/x64/nu {0}
2026-10-24T08:48:53.9983290Z env:
2026-10-24T08:48:53.9985193Z   GITHUB_TOKEN: ***
2026-10-24T08:48:53.9985391Z ##[endgroup]
2026-10-24T08:48:54.0214496Z Warning: nu::parser::deprecated
2026-10-24T08:48:54.0214704Z
2026-10-24T08:48:54.0214798Z   ! Command deprecated.
2026-10-24T08:48:54.0215164Z     ,-[/home/runner/work/_actions/mitchellh/vouch/v1/action/check-user/../../vouch/file.nu:43:25]
2026-10-24T08:48:54.0215666Z  42 | export def parse-handle [handle: string] {
2026-10-24T08:48:54.0216216Z  43 |   let parts = $handle | str downcase | split row ":" --number 2
2026-10-24T08:48:54.0216522Z     :                         ^^^^^^|^^^^^
2026-10-24T08:48:54.0216885Z     :                               `-- str downcase was deprecated in 0.114.0 and will be removed in a future release.
2026-10-24T08:48:55.0798093Z  44 |   if ($parts | length) > 1 {
2026-10-24T08:48:55.0798528Z     `----
2026-10-24T08:48:55.0798770Z   help: Use `str lowercase` instead.
2026-10-24T08:48:55.0798977Z
2026-10-24T08:48:55.0799095Z User Ethereal49: unknown
2026-10-24T08:48:55.0834784Z ##[end-action id=vouch.run;outcome=success;conclusion=success;duration_ms=1088]
2026-10-24T08:48:55.1052285Z ##[group]Run actions/github-script@v8
2026-10-24T08:48:55.1052513Z with:
2026-10-24T08:48:55.1058140Z   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-24T08:48:55.1065882Z   github-token: ***
2026-10-24T08:48:55.1066071Z   debug: false
2026-10-24T08:48:55.1066259Z   user-agent: actions/github-script
2026-10-24T08:48:55.1066480Z   result-encoding: json
2026-10-24T08:48:55.1066664Z   retries: 0
2026-10-24T08:48:55.1066859Z   retry-exempt-status-codes: 400,401,403,404,422
2026-10-24T08:48:55.1067088Z env:
2026-10-24T08:48:55.1067247Z   PR_NUMBER: 24356
2026-10-24T08:48:55.1067423Z   VOUCH_STATUS: unknown
2026-10-24T08:48:55.1067607Z ##[endgroup]
2026-10-24T08:48:56.1642456Z PR #24356: unknown -> vouch:unvouched
2026-10-24T08:48:56.1779223Z Cleaning up orphan processes