From c48f3f6fbd83a33fd9cde6c19b4ce48c9b4d8098 Mon Sep 17 00:00:00 2001 From: Etienne Champetier Date: Sun, 28 Oct 2018 21:48:23 -0400 Subject: [PATCH] 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 --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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