From de4413b0764613a9174bd51f9990ae2c0fdc3734 Mon Sep 17 00:00:00 2001 From: erciccione Date: Tue, 20 Apr 2021 11:47:21 +0200 Subject: [PATCH] workflows: don't build PRs if only docs and READMEs are being changed --- .github/workflows/build.yml | 7 ++++++- .github/workflows/depends.yml | 7 ++++++- 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: