We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b070056 commit f8103a8Copy full SHA for f8103a8
.changeset/little-geese-rule.md
@@ -0,0 +1,5 @@
1
+---
2
+'changesets-gitlab': patch
3
4
+
5
+fix: gitlab host fallback environment variables
src/env.ts
@@ -11,6 +11,10 @@ export const env = {
11
...process.env,
12
13
CI_MERGE_REQUEST_IID: +process.env.CI_MERGE_REQUEST_IID!,
14
+ GITLAB_HOST:
15
+ process.env.GITLAB_HOST ??
16
+ process.env.CI_SERVER_URL ??
17
+ 'https://gitlab.com',
18
GITLAB_CI_USER_EMAIL:
19
process.env.GITLAB_CI_USER_EMAIL || 'gitlab[bot]@users.noreply.gitlab.com',
20
GITLAB_COMMENT_TYPE: process.env.GITLAB_COMMENT_TYPE ?? 'discussion',
0 commit comments