Skip to content
Snippets Groups Projects

CI: Ensure that GITLAB_API_TOKEN is correct

Merged Peter Leitzen requested to merge pl-testing-changelog into main
All threads resolved!

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 :robot: in the MR.

Testing

In order to perform these tests GITLAB_API_TOKEN is no longer a protected CI/CD variable:

Screenshot_from_2023-09-04_16-57-47

With this, update-changelog is run and fails if the API token does not have sufficient permissions.

:white_check_mark: :red_circle:
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 :robot: committing the CHANGELOG.md in this very MR :tada:

Edited by Peter Leitzen

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Peter Leitzen
  • Peter Leitzen requested review from @nmilojevic1

    requested review from @nmilojevic1

  • Peter Leitzen mentioned in merge request !56 (merged)

    mentioned in merge request !56 (merged)

  • Nikola Milojevic approved this merge request

    approved this merge request

  • Nikola Milojevic requested review from @kerrizor

    requested review from @kerrizor

  • Kerri Miller approved this merge request

    approved this merge request

  • Kerri Miller resolved all threads

    resolved all threads

  • merged

  • Kerri Miller mentioned in commit 422d1d2a

    mentioned in commit 422d1d2a

  • Please register or sign in to reply
    Loading