So I started seeing this error when I was working with dotnet tools:
/usr/local/share/dotnet/sdk/6.0.100/NuGet.targets(130,5): warning : Your request could not be authenticated by the GitHub Packages service. Please ensure your access token is valid and has the appropriate scopes configured.
The resources I saw on this were generally pointing to pipeline issues, but that wasn't the case for me.