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.
2 parents 3f85d83 + 2580e12 commit 47198f2Copy full SHA for 47198f2
azure-pipelines.yml
@@ -13,7 +13,7 @@ jobs:
13
node index.js
14
workingDirectory: .build/commitlint
15
displayName: 'Linting Commits'
16
- condition: eq(variables['GIT_BRANCH'], 'merge')
+ condition: eq(variables['Build.SourceBranchName'], 'merge')
17
18
- job: Test
19
pool :
@@ -26,7 +26,7 @@ jobs:
26
codeCoverage: 'true'
27
dependsOn:
28
- CommitLint
29
- condition: succeeded('CommitLint')
+ condition: or(ne(variables['Build.SourceBranchName'], 'merge'), succeeded('CommitLint'))
30
31
- job: Build
32
@@ -43,7 +43,7 @@ jobs:
43
condition: succeeded()
44
45
46
47
48
- job: Documentation
49
0 commit comments