github-tools / github-release-notes

Node module to create a release or a changelog from a tag and uses issues or commits to creating the release notes.
https://github-tools.github.io/github-release-notes/
GNU General Public License v3.0
884 stars 325 forks source link

Running command with wrong credentials goes into an endless loop #278

Closed papanito closed 3 years ago

papanito commented 4 years ago

I ran the following command and accidentally forgotten the $ in front of GITHUB_ACTION

gren changelog --generate --data-source commits --tags=all --override --token GITHUB_TOKEN

This ended in an endless loop

🤖  - Generate changelog file:
===================================
â § Getting the list of releasesError: 401 error making request get https://api.github.com/repos/papanito/ansible-role-cloudflared/releases: "Unauthorized"
    at new ResponseError (/usr/lib/node_modules/github-release-notes/node_modules/github-api/dist/components
.....
â ¦ Getting the list of releases^C% 

Version: 0.17.3