Skip to content

Integrity filtering filters content by org admins (it doesn't know about org admin status of a user) #23565

@dsyme

Description

@dsyme

Problem

If you are admin in an org, but don't have explicit status in a repo, then GitHub reports you as having "CONTRIBUTOR" status in the repo. As a result, your comments etc. will be default be filtered.

This is a fundamental limitation of the GitHub API and what you can do with the GITHUB_TOKEN for GitHub Actions.

Workarounds

One workaround is to add the user as an admin/maintain/write on the particular repository. This will mean they have COLLABORATOR or similar permission.

Another workaround is to use a GitHub App or to register a PAT for integrity filtering with org membership access permission.

Another workaround is to disable integrity filtering for the repository via min-integrity: none

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
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