@@ -85,24 +85,25 @@ GITLAB_AUTH_TOKEN="<token>" yarn run start
8585
8686#### Configuration options
8787
88- | Env variable | Default value | |
89- | --------------------------------| ----------------------| ------------------------------------------------------------|
90- | ` GITLAB_URL ` | ` https://gitlab.com ` | GitLab instance URL |
91- | ` GITLAB_AUTH_TOKEN ` | | ` required ` Your GitLab token |
92- | ` HTTP_PROXY ` | `` | Use HTTP proxy for API communication |
93- | ` CI_CHECK_INTERVAL ` | ` 10 ` | Time between CI checks (in seconds) |
94- | ` MR_CHECK_INTERVAL ` | ` 20 ` | Time between merge-requests checks (in seconds) |
95- | ` REMOVE_BRANCH_AFTER_MERGE ` | ` true ` | It'll remove branch after merge |
96- | ` SQUASH_MERGE_REQUEST ` | ` true ` | It'll squash commits on merge |
97- | ` PREFER_GITLAB_TEMPLATE ` | ` false ` | Use Gitlab template instead of custom message |
98- | ` AUTORUN_MANUAL_BLOCKING_JOBS ` | ` true ` | It'll autorun manual blocking jobs before merge |
99- | ` SKIP_SQUASHING_LABEL ` | ` bot:skip-squash ` | It'll skip squash when MR contains this label |
100- | ` HIGH_PRIORITY_LABEL ` | ` bot:high-priority ` | It'll put MR with this label to the beginning of the queue |
101- | ` SENTRY_DSN ` | `` | It'll enable Sentry monitoring |
102- | ` HTTP_SERVER_ENABLE ` | ` false ` | It'll enable experimental API and dashboard support |
103- | ` HTTP_SERVER_PORT ` | ` 4000 ` | It'll use different http server port |
104- | ` WEB_HOOK_TOKEN ` | `` | It'll enable experimental web hook support |
105- | ` ENABLE_PERMISSION_VALIDATION ` | ` false ` | It'll enable experimental permission validation |
88+ | Env variable | Default value | |
89+ | --------------------------------| ----------------------| ----------------------------------------------------------------------------|
90+ | ` GITLAB_URL ` | ` https://gitlab.com ` | GitLab instance URL |
91+ | ` GITLAB_AUTH_TOKEN ` | | ` required ` Your GitLab token |
92+ | ` ALLOWED_PROJECT_IDS ` | `` | It'll restrict operation only on selected projects. (comma separated list) |
93+ | ` HTTP_PROXY ` | `` | Use HTTP proxy for API communication |
94+ | ` CI_CHECK_INTERVAL ` | ` 10 ` | Time between CI checks (in seconds) |
95+ | ` MR_CHECK_INTERVAL ` | ` 20 ` | Time between merge-requests checks (in seconds) |
96+ | ` REMOVE_BRANCH_AFTER_MERGE ` | ` true ` | It'll remove branch after merge |
97+ | ` SQUASH_MERGE_REQUEST ` | ` true ` | It'll squash commits on merge |
98+ | ` PREFER_GITLAB_TEMPLATE ` | ` false ` | Use Gitlab template instead of custom message |
99+ | ` AUTORUN_MANUAL_BLOCKING_JOBS ` | ` true ` | It'll autorun manual blocking jobs before merge |
100+ | ` SKIP_SQUASHING_LABEL ` | ` bot:skip-squash ` | It'll skip squash when MR contains this label |
101+ | ` HIGH_PRIORITY_LABEL ` | ` bot:high-priority ` | It'll put MR with this label to the beginning of the queue |
102+ | ` SENTRY_DSN ` | `` | It'll enable Sentry monitoring |
103+ | ` HTTP_SERVER_ENABLE ` | ` false ` | It'll enable experimental API and dashboard support |
104+ | ` HTTP_SERVER_PORT ` | ` 4000 ` | It'll use different http server port |
105+ | ` WEB_HOOK_TOKEN ` | `` | It'll enable experimental web hook support |
106+ | ` ENABLE_PERMISSION_VALIDATION ` | ` false ` | It'll enable experimental permission validation |
106107
107108## Development
108109
0 commit comments