diff options
author | Sebastian Berg <sebastian@sipsolutions.net> | 2021-05-25 17:52:52 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-25 17:52:52 -0700 |
commit | e6557c284370d70fc8e5a3f4bf2280250eb42fd3 (patch) | |
tree | 99ae0eda869251a8e54269fbc6169942ca2ffe3f | |
parent | ecdba3a140126174a6a4d86fe0fbf2ce2ad680f9 (diff) | |
parent | a5663b21a17baa3322b28b88827d8031e68b96a6 (diff) | |
download | numpy-e6557c284370d70fc8e5a3f4bf2280250eb42fd3.tar.gz |
Merge pull request #19086 from charris/fix-linter-run-condition
BUG: Linter should only run on pull requests.
-rw-r--r-- | azure-pipelines.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/azure-pipelines.yml b/azure-pipelines.yml index dd189b8e9..14a59e880 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -19,7 +19,7 @@ stages: jobs: - job: Lint - condition: and(succeeded(), ne(variables['Build.SourceBranch'], 'refs/heads/main')) # skip for PR merges + condition: and(succeeded(), eq(variables['Build.Reason'], 'PullRequest')) pool: vmImage: 'ubuntu-18.04' steps: |