Issue with nixpkgs-review not seeing github token

I’ve just tried nixpkgs-review on a new machine and keep running into “no oauth token found for github.com” + rate limit 403.
But… I’ve got the access-tokens configured with a fresh token and appearing on nix config show. It’s also ignored when passed through --token.

Am I missing something trivial here? This should just work, right?

I can not see a mention of the access-tokens from the nix config being used in GitHub - Mic92/nixpkgs-review: Review pull-requests on https://github.com/NixOS/nixpkgs · GitHub.

So you have to use envvars or --token to use a manually created classic PAT. And it has to be a classic/legacy one.

In my opinion, using and authenticating gh is the cleaner way.

Using 3.9.0 with --token and classic PAT - still “no oauth token found for github.com”. I guess I’ll take it to the project issues then :frowning:

Correction - with the right token in the CLI the status changed from “403 Rate limit” to “403 Forbidden” which is much better! I can work with that.