aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorerciccione <erciccione@protonmail.com>2021-04-20 11:47:21 +0200
committererciccione <erciccione@protonmail.com>2021-06-21 10:18:09 +0200
commitde4413b0764613a9174bd51f9990ae2c0fdc3734 (patch)
treecab080c1831f1edf6a823b95942e878604647f2e
parentRevert "Merge pull request #7136" (diff)
downloadmonero-de4413b0764613a9174bd51f9990ae2c0fdc3734.tar.xz
workflows: don't build PRs if only docs and READMEs are being changed
-rw-r--r--.github/workflows/build.yml7
-rw-r--r--.github/workflows/depends.yml7
2 files changed, 12 insertions, 2 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index aa6afbfbc..b84c6b0cc 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -1,6 +1,11 @@
name: ci/gh-actions/cli
-on: [push, pull_request]
+on:
+ push:
+ pull_request:
+ paths-ignore:
+ - 'docs/**'
+ - '**/README.md'
jobs:
build-macos:
diff --git a/.github/workflows/depends.yml b/.github/workflows/depends.yml
index 3e0f048c7..d5509705d 100644
--- a/.github/workflows/depends.yml
+++ b/.github/workflows/depends.yml
@@ -1,6 +1,11 @@
name: ci/gh-actions/depends
-on: [push, pull_request]
+on:
+ push:
+ pull_request:
+ paths-ignore:
+ - 'docs/**'
+ - '**/README.md'
jobs:
build-macos: