Skip to content

Commit

Permalink
use GITLAB_CI to detect CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Jamie Thompson committed May 29, 2019
1 parent 7b34217 commit 2ba17eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/ci_source/providers/GitLabCI.ts
Expand Up @@ -9,7 +9,7 @@ export class GitLabCI implements CISource {
}

get isCI(): boolean {
return ensureEnvKeysExist(this.env, ["CI_MERGE_REQUEST_IID"])
return ensureEnvKeysExist(this.env, ["GITLAB_CI"])
}

get isPR(): boolean {
Expand Down

0 comments on commit 2ba17eb

Please sign in to comment.