Skip to content

CI_JOB_TOKEN should be allowed to comment on merge requests

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

Summary

The CI_JOB_TOKEN currently does not have permissions to post comments on a merge request (MR) comment section. This limitation affects automated workflows where posting comments as part of CI/CD processes would be beneficial.

Proposal

Implement a feature that allows the CI_JOB_TOKEN to post comments on the MR comment section. This enhancement will involve updating the permissions associated with the CI_JOB_TOKEN to include commenting capabilities on merge requests.

Confirm purpose and User Reception (how does this benefit the user?)

Allowing the CI_JOB_TOKEN to post comments on MRs will enable more dynamic and informative CI/CD processes. Users can automate feedback, results, and notifications directly within merge requests, improving visibility and collaboration among team members.

Additional details

  • Does this need a feature flag? Possibly, to allow users to opt-in to this new behavior.
  • Does there need to be an associated instrumentation issue created related to this work? No.
  • What permissions should be used? Update the CI_JOB_TOKEN permissions to include commenting on merge requests.
  • Is this EE or CE?
    • EE
    • CE
  • Additional comments: N/A

Links/References

Edited by 🤖 GitLab Bot 🤖