CI: Ensure that GITLAB_API_TOKEN is correct
Fail update-changelog
if the provided GITLAB_API_TOKEN is invalid
(e.g. missing or protected). Closes #29 (closed)
Also, improve release documentation to highlight that CHANGELOG.md
should be updated by project bot
Testing
In order to perform these tests GITLAB_API_TOKEN
is no longer a protected
CI/CD variable:
With this, update-changelog
is run and fails if the API token does not have sufficient permissions.
https://gitlab.com/gitlab-org/ruby/gems/tanuki_emoji/-/jobs/5012800713 | https://gitlab.com/gitlab-org/ruby/gems/tanuki_emoji/-/jobs/5012827332 |
See also !57 (d0009eb3) to see CHANGELOG.md
in this very MR
Edited by Peter Leitzen