skip logo paths and in actions (#1311)
* skip logo paths and in actions * [skip ci] Keep CI happy
This commit is contained in:
parent
7b10adc69a
commit
e7c504b331
2 changed files with 13 additions and 2 deletions
|
|
@ -223,7 +223,8 @@ java -jar \"$jar\" --config .build/bb.edn --deps-root . release-artifact \"$refl
|
||||||
:requires ["linux" "linux-static" "linux-aarch64"]}}]}))))
|
:requires ["linux" "linux-static" "linux-aarch64"]}}]}))))
|
||||||
|
|
||||||
(def skip-config
|
(def skip-config
|
||||||
{:skip-if-only [#".*.md$"]})
|
{:skip-if-only [#".*.md$"
|
||||||
|
#"^logo\/.*$"]})
|
||||||
|
|
||||||
(defn get-changes
|
(defn get-changes
|
||||||
[]
|
[]
|
||||||
|
|
@ -253,9 +254,11 @@ java -jar \"$jar\" --config .build/bb.edn --deps-root . release-artifact \"$refl
|
||||||
|
|
||||||
(comment
|
(comment
|
||||||
(main)
|
(main)
|
||||||
|
|
||||||
(def regexes
|
(def regexes
|
||||||
[#".*.md$"
|
[#".*.md$"
|
||||||
#".*.clj$"]) ; ignore clojure files
|
#".*.clj$" ; ignore clojure files
|
||||||
|
#"^logo\/.*$"])
|
||||||
|
|
||||||
(:out (tasks/shell {:out :string} "ls"))
|
(: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 #".*.clj$" "src/file.clj.dfff")
|
||||||
|
|
||||||
|
(re-matches #"^logo\/.*$" "logo/foo/bar.jpg")
|
||||||
|
|
||||||
(relevant? ["src/file.clj"] regexes))
|
(relevant? ["src/file.clj"] regexes))
|
||||||
|
|
|
||||||
6
.github/workflows/build.yml
vendored
6
.github/workflows/build.yml
vendored
|
|
@ -2,9 +2,15 @@ name: build
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
|
paths-ignore:
|
||||||
|
- "**.md"
|
||||||
|
- "logo/**"
|
||||||
branches:
|
branches:
|
||||||
- master
|
- master
|
||||||
pull_request:
|
pull_request:
|
||||||
|
paths-ignore:
|
||||||
|
- "**.md"
|
||||||
|
- "logo/**"
|
||||||
branches:
|
branches:
|
||||||
- master
|
- master
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue