Skip to content
Permalink
Browse files

Fix: [AzurePipelines] run commit checker only for PRs

  • Loading branch information...
glx22 committed Mar 10, 2019
1 parent a1d028e commit bfbe9ccc455c5805a5f3f973c26537771eea0e91
Showing with 2 additions and 2 deletions.
  1. +2 −2 azure-pipelines/templates/linux-build.yml
@@ -23,8 +23,8 @@ steps:
displayName: 'Build'
${{ if eq(parameters.Image, 'compile-farm-ci') }}:
displayName: 'Build and test'
${{ if eq(parameters.Tag, 'commit-checker') }}:
condition: and(succeeded(), eq(variables['Build.Reason'], 'PullRequest'))
# Run the commit-checker only if it is a Pull Request
condition: and(succeeded(), or(ne(variables['Agent.JobName'], 'commit-checker'), eq(variables['Build.Reason'], 'PullRequest')))
inputs:
command: 'Run an image'
imageName: openttd/${{ parameters.Image }}:${{ parameters.Tag }}

0 comments on commit bfbe9cc

Please sign in to comment.
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.