Skip to content

Impossible to set permissions for view annotations, for gh run watch #8842

@bendavies

Description

@bendavies

Describe the bug

When using a Fine Grained Token, it seems impossible to use gh run watch, as this requires permissions to view annotations.

It doesn't seem possible to grant checks:read with Fine Grained Tokens, unless i'm missing something.

Steps to reproduce the behavior

  1. Type this gh run watch $id
  2. View the output

failed to get annotations: HTTP 403: Resource not accessible by personal access token (https://api.github.com/repos/org/repo/check-runs/id/annotations)'

Metadata

Metadata

Assignees

Labels

gh-runrelating to the gh run commandhelp wantedContributions welcomeneeds-designAn engineering task needs design to proceedplatformProblems with the GitHub platform rather than the CLI clientpriority-2Affects more than a few users but doesn't prevent core functions

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions