From: Etienne Champetier Date: Mon, 29 Oct 2018 01:48:23 +0000 (-0400) Subject: build,circleci: change exclude pattern X-Git-Url: http://git.openwrt.org/?p=feed%2Fpackages.git;a=commitdiff_plain;h=c48f3f6fbd83a33fd9cde6c19b4ce48c9b4d8098 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 --- diff --git a/.circleci/config.yml b/.circleci/config.yml index e15587c1ee..509119505f 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -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