Browse Source

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>
lilik-openwrt-22.03
Etienne Champetier 6 years ago
parent
commit
c48f3f6fbd
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      .circleci/config.yml

+ 1
- 1
.circleci/config.yml View File

@ -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…
Cancel
Save