Limit the master-only rule to joerick/cibuildwheel

This commit is contained in:
Joe Rickerby
2020-04-07 18:11:12 +01:00
parent a2eff759e8
commit 1701bc6bde
+4 -3
View File
@@ -1,15 +1,16 @@
name: Test name: Test
on: on:
push: push: {}
branches:
- master
pull_request: pull_request:
paths-ignore: paths-ignore:
- 'docs/**' - 'docs/**'
jobs: jobs:
test: test:
# skip branch builds on joerick/cibuildwheel, but always build `master` and pull requests
if: github.repository != 'joerick/cibuildwheel' || github.ref == 'refs/heads/master' || github.event_name == 'pull_request'
name: Test cibuildwheel on ${{ matrix.os }} name: Test cibuildwheel on ${{ matrix.os }}
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
strategy: strategy: