From 2ea8896c0b24d5707b14deaa9b48553a2d093133 Mon Sep 17 00:00:00 2001 From: Paulo Gomes Date: Mon, 8 Aug 2022 16:22:45 +0100 Subject: [PATCH] build: Ignore CI workflows for markdown files Running all CI tests at pull requests for some files is sub-optimal, when a PR contain changes to a single file not checked by the tests. Signed-off-by: Paulo Gomes --- .github/workflows/cifuzz.yaml | 4 ++++ .github/workflows/e2e.yaml | 4 ++++ .github/workflows/tests.yaml | 5 +++++ .github/workflows/verify.yaml | 5 +++++ 4 files changed, 18 insertions(+) diff --git a/.github/workflows/cifuzz.yaml b/.github/workflows/cifuzz.yaml index e9b184b69..d13d0a241 100644 --- a/.github/workflows/cifuzz.yaml +++ b/.github/workflows/cifuzz.yaml @@ -3,6 +3,10 @@ on: pull_request: branches: - main + paths-ignore: + - 'CHANGELOG.md' + - 'README.md' + - 'MAINTAINERS' permissions: contents: read diff --git a/.github/workflows/e2e.yaml b/.github/workflows/e2e.yaml index e092ae182..bfce099be 100644 --- a/.github/workflows/e2e.yaml +++ b/.github/workflows/e2e.yaml @@ -2,6 +2,10 @@ name: e2e on: pull_request: + paths-ignore: + - 'CHANGELOG.md' + - 'README.md' + - 'MAINTAINERS' push: branches: - main diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 7397fe2d9..7bb907cf6 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -2,6 +2,11 @@ name: tests on: pull_request: + paths-ignore: + - 'CHANGELOG.md' + - 'README.md' + - 'MAINTAINERS' + push: branches: - main diff --git a/.github/workflows/verify.yaml b/.github/workflows/verify.yaml index e06e19254..33210245f 100644 --- a/.github/workflows/verify.yaml +++ b/.github/workflows/verify.yaml @@ -2,6 +2,11 @@ name: verify on: pull_request: + paths-ignore: + - 'CHANGELOG.md' + - 'README.md' + - 'MAINTAINERS' + push: branches: - main