Authorize CI_JOB_TOKEN to invoke /projects/:id/repository/compare api
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
Release Notes
We plan to utilize the /projects/:id/repository/compare API in GitLab CI for automatic generation of release notes. If this API can be accessed using the CI_JOB_TOKEN, it could eliminate the necessity for a separate project token, which would increase efficiency. Given that the job token already has the authority to clone repositories, it seems reasonable to include this capability within its existing permission scope.
Problem to Solve
Automatically generate release notes by calling the /projects/:id/repository/compare API with CI_JOB_TOKEN.
Proposal
Grant permission for the CI_JOB_TOKEN to access the /projects/:id/repository/compare API.
Intended users
Developer
Feature Usage Metrics
Does this feature require an audit event?
No
Edited by 🤖 GitLab Bot 🤖