Skip to content

CI: Reviewers / request job failed, complaining about an unbound variable #457845

@ShamrockLee

Description

@ShamrockLee

Description

Partial log;

Run # maintainers.json contains GitHub IDs. Look up handles to request reviews from.
  # maintainers.json contains GitHub IDs. Look up handles to request reviews from.
  # There appears to be no API to request reviews based on GitHub IDs
  jq -r 'keys[]' comparison/maintainers.json \
    | while read -r id; do gh api /user/"$id" --jq .login; done \
    | cat comparison/owners.txt - \
    | GH_TOKEN="$APP_GH_TOKEN" result/bin/request-reviewers.sh "$REPOSITORY" "$NUMBER" "$AUTHOR"
  shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
  env:
    TMPDIR: /home/runner/work/_temp
    NIX_PROFILES: /nix/var/nix/profiles/default /home/runner/.nix-profile
    NIX_SSL_CERT_FILE: /etc/ssl/certs/ca-certificates.crt
    GH_TOKEN: ***
    APP_GH_TOKEN: ***
    REPOSITORY: NixOS/nixpkgs
    NUMBER: 455805
    AUTHOR: ShamrockLee
    DRY_MODE: 1
/nix/store/2yw28m2xvw8mllrk638l99p4bk1qnbv0-request-reviews/bin/.request-reviewers.sh-wrapped: line 62: entry: unbound variable
Error: Process completed with exit code 1.

Job link: https://github.com/NixOS/nixpkgs/actions/runs/19014772177/job/54301161727?pr=455805#logs

Cc:
@NixOS/nixpkgs-ci

Metadata

Metadata

Assignees

No one assigned

    Labels

    6.topic: continuous integrationAffects continuous integration (CI) in Nixpkgs, including Ofborg and GitHub Actions
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions