Can the CI runner use the gitlab API?

Hi !

I have gitlab CE and gitlab CI perfectly running.

I want to post comments on merge requests / commits from a build ( https://gitlab.com/gitlab-org/gitlab-ce/blob/master/doc/api/commits.md#post-comment-to-commit ).
I see that the runner is able to use git with a hidden token, that does not appear in the env.

Is there a way to use the gitlab API in that context without creating a specific “system” user with its own token ?

Thanks !

1 Like

Did you work this out?