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
`CHANGELOG.md`, and none of the tests executed in CI are affected
by that file.

By ignoring the tests for such files, we better utilise the CI resources
and decrease the time required to release changes.

Signed-off-by: Paulo Gomes <[email protected]>
  • Loading branch information
Paulo Gomes committed Aug 8, 2022
1 parent 6c215e9 commit cc49d05
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 cc49d05

Please sign in to comment.