summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatti Picus <matti.picus@gmail.com>2021-02-05 16:47:05 +0200
committerGitHub <noreply@github.com>2021-02-05 16:47:05 +0200
commit2f466b31820b6af40c3bc1ca3957682b6f20365a (patch)
tree7734a7b656e63545fa138c8ff70047f84b71be90
parent0a1bd4ead41b1fdfb53142097b5e08555f280545 (diff)
parentb3cb7752a456f18eb559f759cba35dd6cb82eb8e (diff)
downloadnumpy-2f466b31820b6af40c3bc1ca3957682b6f20365a.tar.gz
Merge pull request #18333 from rgommers/fix-ghactions-trigger
CI: fix when GitHub Actions builds trigger, and allow ci skips
-rw-r--r--.github/workflows/build_test.yml11
1 files changed, 10 insertions, 1 deletions
diff --git a/.github/workflows/build_test.yml b/.github/workflows/build_test.yml
index ce0c492e6..1363d9327 100644
--- a/.github/workflows/build_test.yml
+++ b/.github/workflows/build_test.yml
@@ -1,6 +1,14 @@
name: Build_Test
-on: [push, pull_request]
+on:
+ push:
+ branches:
+ - master
+ - maintenance/**
+ pull_request:
+ branches:
+ - master
+ - maintenance/**
defaults:
run:
@@ -12,6 +20,7 @@ env:
jobs:
smoke_test:
+ 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]')"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2