-
Notifications
You must be signed in to change notification settings - Fork 258
Open
Labels
confirmedPrevent from becoming stalePrevent from becoming stalefeatureA new feature or a feature requestA new feature or a feature requestneeds-updateNeeds status update from maintainersNeeds status update from maintainers
Description
Description
This is a relatively new feature of Gitlab where you can create a project access token that further creates a bot user that allows you to interact with the git repo and gitlab API. See more here:
https://docs.gitlab.com/ee/user/project/settings/project_access_tokens.html#project-access-tokens
I'm trying to use it but I think the problem is the Git username for Gitlab is hardcoded
Possible implementation
- Look for an optional
GITLAB_BOT_USER
environment variable so the project access tokens are entirely optional - Or, make everyone migrate to project access tokens for Gitlab and force an "actor" to be specified like is currently done for Github. Or just default to the format that Gitlab says:
project_{CI_PROJECT_ID}_bot
whereCI_PROJECT_ID
is a predefined environment variable available in the Gitlab jobs.
Metadata
Metadata
Assignees
Labels
confirmedPrevent from becoming stalePrevent from becoming stalefeatureA new feature or a feature requestA new feature or a feature requestneeds-updateNeeds status update from maintainersNeeds status update from maintainers