diff options
author | Ralf Gommers <ralf.gommers@gmail.com> | 2021-03-07 18:00:16 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-07 18:00:16 +0100 |
commit | 404e41fd16d456d83d4db538b7b39e0269522005 (patch) | |
tree | 48abdce40ddd5069a0886822d9a0e82db133d8c4 | |
parent | 3412ef6643a946a04f5e522e5a412ff24b0ea4b9 (diff) | |
download | numpy-404e41fd16d456d83d4db538b7b39e0269522005.tar.gz |
CI: skip lint check on merges with main (#18567)
There's no lint diff, so the check should not run
-rw-r--r-- | .github/workflows/build_test.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/build_test.yml b/.github/workflows/build_test.yml index 45a7f9ce0..55013f3cf 100644 --- a/.github/workflows/build_test.yml +++ b/.github/workflows/build_test.yml @@ -20,7 +20,7 @@ env: jobs: lint: - if: "github.repository == 'numpy/numpy' && !contains(github.event.head_commit.message, '[ci skip]') && !contains(github.event.head_commit.message, '[skip ci]') && !contains(github.event.head_commit.message, '[skip github]')" + if: "github.repository == 'numpy/numpy' && github.ref != 'refs/heads/main' && !contains(github.event.head_commit.message, '[ci skip]') && !contains(github.event.head_commit.message, '[skip ci]') && !contains(github.event.head_commit.message, '[skip github]')" runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 |