Use CI_JOB_TOKEN to create releases
What does this MR do?
This MR changes the .gitlab/ci/scripts/gitlab_release.sh
script to use the ephemeral CI_JOB_TOKEN
token instead of the bot's token (in the DEPLOY_TOKEN
environment variable).
Why was this MR needed?
To restrict permissions associated with the token. See https://gitlab.slack.com/archives/CBQ76ND6W/p1625847069436100
What's the best way to test this MR?
N/A
What are the relevant issue numbers?
Edited by Pedro Pombeiro