diff options
author | Charles Harris <charlesr.harris@gmail.com> | 2021-05-24 14:24:47 -0600 |
---|---|---|
committer | Charles Harris <charlesr.harris@gmail.com> | 2021-05-24 14:28:27 -0600 |
commit | a5663b21a17baa3322b28b88827d8031e68b96a6 (patch) | |
tree | da5383c319d5995e04e9084c32e0b4e5ab783d2b | |
parent | fe3d717080e812383900507168a6bd7093c4e434 (diff) | |
download | numpy-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.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: |