Skip to content

Invalid badges when using with fine grained PAT in GitHub #8792

@SayakMukhopadhyay

Description

@SayakMukhopadhyay

Are you experiencing an issue with...

My own instance of shields

🐞 Description

I was trying too use fine grained PATs for my instance of Shields, especially after being mentioned in #8790 (comment).

Most badges work fine, including contributers, stars but the issues and pull requests badges are showing as INVALID is both private and public repos.

I have tried multiple combinations of permissions and none have worked so far. Right now I have given access to:

Read access to actions, administration, code, commit statuses, deployments, discussions, issues, metadata, pull requests, repository hooks, and security events

As you might notice, I have given lots of unneeded permissions too. In case of the old classic PAT's given the repo permission was enough.

🔗 Link to the badge

No response

💡 Possible Solution

I have no idea what the problem is, as I don't see any logs. I am running the server on Kubernetes and using the default entrypoint in the container.

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionSupport questions, usage questions, unconfirmed bugs, discussions, ideas

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions