summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2021-05-24 14:24:47 -0600
committerCharles Harris <charlesr.harris@gmail.com>2021-05-24 14:28:27 -0600
commita5663b21a17baa3322b28b88827d8031e68b96a6 (patch)
treeda5383c319d5995e04e9084c32e0b4e5ab783d2b
parentfe3d717080e812383900507168a6bd7093c4e434 (diff)
downloadnumpy-a5663b21a17baa3322b28b88827d8031e68b96a6.tar.gz
BUG: Linter should on run on pull requests.
That was the original intent, but linter was only disabled for merges to the main branch and still ran, and failed, on maintenance branches. Closes #19079.
-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: