Skip to content

Separate github tokens for issue and project access #632

@aborgna-q

Description

@aborgna-q

As stated in the fine-access token documentation:

Each token can only access resources owned by a single user or organization.

This is a problem when using add-to-project with an issue and a project under different organisations, as both are accessed with the same github-token.
Currently the only way around this is to go back to using classic unrestricted tokens, without any kind of permissions control.

A simple solution to this could be to add an optional project-github-token that defaults to github-token. It can be ignored for most usecases, but it would let us keep using fine-grained tokens when targeting different organisations.

Metadata

Metadata

Assignees

No one assigned

    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