Skip to content

token in .config/bloom is not recognised #752

@christian-rauch

Description

@christian-rauch

I have a .config/bloom with:

{"oauth_token": "ghp_MYBLOOMTOKEN", "github_user": "christian-rauch"}

where ghp_MYBLOOMTOKEN is a token generated specifically for bloom with only the public_repo scope.

When I run bloom-release my_package --rosdistro rolling with release repo https://github.com/ros2-gbp/my_package-release.git and without the "Re-route https through ssh", I am still asked for a username and password:

Username for 'https://github.com': christian-rauch
Password for 'https://christian-rauch@github.com': 

Here, when I enter ghp_MYBLOOMTOKEN for the password, the push check seems to work.

Since the token seems to work, the question is essentially: Why does bloom not recognise the github_user and oauth_token in the bloom configuration file?

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