build,circleci: change exclude pattern
Even when configured to only build PR, CircleCI always build the default branch `only: /pull.*/` seems like a good idea, but it fails when: - you are testing on the same repo, because github doesn't create a pull branch - when your repo is configured, because it see the push on your repo, prevent building this commit because it doesn't match the regexp, then when you do the PR CircleCI doesn't work In the end what we really want is `ignore: master` Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
This commit is contained in:
parent
cd315ec4e2
commit
c48f3f6fbd
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@ jobs:
|
|||
- SDK_BASE_URL: "https://downloads.lede-project.org/snapshots/targets/ar71xx/generic"
|
||||
- SDK_FILE: "openwrt-sdk-ar71xx-generic_gcc-7.3.0_musl.Linux-x86_64.tar.xz"
|
||||
branches:
|
||||
only: /pull.*/
|
||||
ignore: master
|
||||
steps:
|
||||
- run:
|
||||
name: Download the SDK
|
||||
|
|
Loading…
Reference in a new issue