diff --git a/.circleci/script/short_ci.clj b/.circleci/script/short_ci.clj index a91ff1f8..19e8a85b 100644 --- a/.circleci/script/short_ci.clj +++ b/.circleci/script/short_ci.clj @@ -223,7 +223,8 @@ java -jar \"$jar\" --config .build/bb.edn --deps-root . release-artifact \"$refl :requires ["linux" "linux-static" "linux-aarch64"]}}]})))) (def skip-config - {:skip-if-only [#".*.md$"]}) + {:skip-if-only [#".*.md$" + #"^logo\/.*$"]}) (defn get-changes [] @@ -253,9 +254,11 @@ java -jar \"$jar\" --config .build/bb.edn --deps-root . release-artifact \"$refl (comment (main) + (def regexes [#".*.md$" - #".*.clj$"]) ; ignore clojure files + #".*.clj$" ; ignore clojure files + #"^logo\/.*$"]) (:out (tasks/shell {:out :string} "ls")) @@ -263,4 +266,6 @@ java -jar \"$jar\" --config .build/bb.edn --deps-root . release-artifact \"$refl (re-matches #".*.clj$" "src/file.clj.dfff") + (re-matches #"^logo\/.*$" "logo/foo/bar.jpg") + (relevant? ["src/file.clj"] regexes)) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0fa18439..64c6479e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -2,9 +2,15 @@ name: build on: push: + paths-ignore: + - "**.md" + - "logo/**" branches: - master pull_request: + paths-ignore: + - "**.md" + - "logo/**" branches: - master