Skip to content

Commit

Permalink
build: Ignore CI workflows for markdown files
Browse files Browse the repository at this point in the history
Running all CI tests at pull requests for some files is sub-optimal.
For example, release PRs contains changes to a single file
when none of the tests executed in CI are affected by that file.

Signed-off-by: Paulo Gomes <paulo.gomes@weave.works>
  • Loading branch information
Paulo Gomes committed Aug 8, 2022
1 parent f15d9c3 commit 433090c
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/cifuzz.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ on:
pull_request:
branches:
- main
paths-ignore:
- 'CHANGELOG.md'
- 'README.md'
- 'MAINTAINERS'

permissions:
contents: read
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ name: e2e

on:
pull_request:
paths-ignore:
- 'CHANGELOG.md'
- 'README.md'
- 'MAINTAINERS'
push:
branches:
- main
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@ name: tests

on:
pull_request:
paths-ignore:
- 'CHANGELOG.md'
- 'README.md'
- 'MAINTAINERS'

push:
branches:
- main
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/verify.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@ name: verify

on:
pull_request:
paths-ignore:
- 'CHANGELOG.md'
- 'README.md'
- 'MAINTAINERS'

push:
branches:
- main
Expand Down

0 comments on commit 433090c

Please sign in to comment.