Skip to content

Please recommend (and make possible) to use more restrictive tokens #194

@Postremus

Description

@Postremus

The Readme states to generate a legacy token, as far as I understand:

You can generate a token by accessing https://github.com/settings/tokens and clicking on `Generate new token`. On the page that comes up,
provide a name, select `repo` scope and click on `Generate token` at the bottom of the page. You will be prompted with the newly generated token, but be sure to copy it wherever
it is needed, because you won't be able to see it again.

These tokens can not be restricted to specific repositories.
Also, the "repo" scope includes private repositories.
I find this token to be a bit too broad in scope.

Could you maybe:

  • make it possible to use fine grained access tokens?
  • And document how these new tokens should be setup. I.e. least amount of scopes required, which repositories it needs to include.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions