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 <paulo.gomes@weave.works>
This commit is contained in:
Paulo Gomes 2022-08-08 16:22:45 +01:00
parent f15d9c3825
commit 2ea8896c0b
No known key found for this signature in database
GPG Key ID: 9995233870E99BEE
4 changed files with 18 additions and 0 deletions

View File

@ -3,6 +3,10 @@ on:
pull_request:
branches:
- main
paths-ignore:
- 'CHANGELOG.md'
- 'README.md'
- 'MAINTAINERS'
permissions:
contents: read

View File

@ -2,6 +2,10 @@ name: e2e
on:
pull_request:
paths-ignore:
- 'CHANGELOG.md'
- 'README.md'
- 'MAINTAINERS'
push:
branches:
- main

View File

@ -2,6 +2,11 @@ name: tests
on:
pull_request:
paths-ignore:
- 'CHANGELOG.md'
- 'README.md'
- 'MAINTAINERS'
push:
branches:
- main

View File

@ -2,6 +2,11 @@ name: verify
on:
pull_request:
paths-ignore:
- 'CHANGELOG.md'
- 'README.md'
- 'MAINTAINERS'
push:
branches:
- main