Skip to content

[Log] shows no token used when an access token is used with an env var. #950

@apolopena

Description

@apolopena

Describe the bug
When using an access token via ENV variable 'CHANGELOG_GITHUB_TOKEN' and then generating a changelog with:

  • github_changelog_generator -p myproject -u myproject-at-some-github-repo

The output log shows that a token was not used even though it is was
(this log output is truncated for readability):

:user=>"myusername"
:project=>"myproject-at-some-github-repo"
:token=>"No token used"

To Reproduce
Steps to reproduce the behavior:

  1. Setup an access token using the env variable 'CHANGELOG_GITHUB_TOKEN'
  2. Generate a changelog without using the --token option
  3. Pay attention to the log output

The log output contains:
:token=>"No token used"

Expected behavior
The token used should be in the output log or at least with a message like:
:token=>"Token in use"

Desktop (please complete the following information):

  • OS: Focal
  • Browser: Chome
  • Version: 1.16.1

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy