From 291af5847d9c0fd99f0e88d4f4b1087b77c71d13 Mon Sep 17 00:00:00 2001 From: Patrick Lodder Date: Sun, 27 Jun 2021 20:20:35 +0200 Subject: [PATCH] [qa] make CI less trigger happy Do not run CI if all updated paths in a PR match: - 'doc/**' - 'contrib/**' - '**/*.md' and on push, if all updated paths match: '**/*.md' --- .github/workflows/ci.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a2a6b6423..5316a1eee 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,8 +1,14 @@ name: Continuous Integration on: - - push - - pull_request + push: + paths-ignore: + - '**/*.md' + pull_request: + paths-ignore: + - 'doc/**' + - 'contrib/**' + - '**/*.md' jobs: build: