summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Berg <sebastian@sipsolutions.net>2021-05-25 17:52:52 -0700
committerGitHub <noreply@github.com>2021-05-25 17:52:52 -0700
commite6557c284370d70fc8e5a3f4bf2280250eb42fd3 (patch)
tree99ae0eda869251a8e54269fbc6169942ca2ffe3f
parentecdba3a140126174a6a4d86fe0fbf2ce2ad680f9 (diff)
parenta5663b21a17baa3322b28b88827d8031e68b96a6 (diff)
downloadnumpy-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.yml2
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: