mirror of https://github.com/valkey-io/valkey
Add path filters to skip CI on documentation changes (#2393)
Fixes #626 - Skip CI tests when only documentation files are modified --------- Signed-off-by: Hanxi Zhang <hanxizh@amazon.com>
This commit is contained in:
parent
70d336d892
commit
c6794fd2cc
|
|
@ -1,6 +1,16 @@
|
|||
name: CI
|
||||
|
||||
on: [push, pull_request]
|
||||
on:
|
||||
push:
|
||||
paths-ignore:
|
||||
- '**/*.md'
|
||||
- '**/00-RELEASENOTES'
|
||||
- '**/COPYING'
|
||||
pull_request:
|
||||
paths-ignore:
|
||||
- '**/*.md'
|
||||
- '**/00-RELEASENOTES'
|
||||
- '**/COPYING'
|
||||
|
||||
concurrency:
|
||||
group: ci-${{ github.head_ref || github.ref }}
|
||||
|
|
|
|||
|
|
@ -2,9 +2,17 @@ name: Clang Format Check
|
|||
|
||||
on:
|
||||
push:
|
||||
paths-ignore:
|
||||
- '**/*.md'
|
||||
- '**/00-RELEASENOTES'
|
||||
- '**/COPYING'
|
||||
pull_request:
|
||||
paths:
|
||||
- 'src/**'
|
||||
paths-ignore:
|
||||
- '**/*.md'
|
||||
- '**/00-RELEASENOTES'
|
||||
- '**/COPYING'
|
||||
|
||||
concurrency:
|
||||
group: clang-${{ github.head_ref || github.ref }}
|
||||
|
|
|
|||
|
|
@ -2,7 +2,17 @@ name: "Codecov"
|
|||
|
||||
# Enabling on each push is to display the coverage changes in every PR,
|
||||
# where each PR needs to be compared against the coverage of the head commit
|
||||
on: [push, pull_request]
|
||||
on:
|
||||
push:
|
||||
paths-ignore:
|
||||
- '**/*.md'
|
||||
- '**/00-RELEASENOTES'
|
||||
- '**/COPYING'
|
||||
pull_request:
|
||||
paths-ignore:
|
||||
- '**/*.md'
|
||||
- '**/00-RELEASENOTES'
|
||||
- '**/COPYING'
|
||||
|
||||
concurrency:
|
||||
group: codecov-${{ github.head_ref || github.ref }}
|
||||
|
|
|
|||
|
|
@ -6,6 +6,10 @@ on:
|
|||
# any PR to a release branch.
|
||||
- "[0-9].[0-9]"
|
||||
- "unstable"
|
||||
paths-ignore:
|
||||
- '**/*.md'
|
||||
- '**/00-RELEASENOTES'
|
||||
- '**/COPYING'
|
||||
schedule:
|
||||
- cron: "0 0 * * *"
|
||||
workflow_dispatch:
|
||||
|
|
|
|||
|
|
@ -1,8 +1,16 @@
|
|||
name: External Server Tests
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
push:
|
||||
paths-ignore:
|
||||
- '**/*.md'
|
||||
- '**/00-RELEASENOTES'
|
||||
- '**/COPYING'
|
||||
pull_request:
|
||||
paths-ignore:
|
||||
- '**/*.md'
|
||||
- '**/00-RELEASENOTES'
|
||||
- '**/COPYING'
|
||||
schedule:
|
||||
- cron: '0 2 * * *'
|
||||
|
||||
|
|
|
|||
|
|
@ -369,4 +369,4 @@ Wilmington, Delaware 19802-4447
|
|||
|
||||
[1]: https://github.com/valkey-io/valkey/blob/unstable/COPYING
|
||||
[2]: https://github.com/valkey-io/valkey/blob/unstable/CONTRIBUTING.md
|
||||
[3]: https://github.com/valkey-io/valkey/blob/unstable/SECURITY.md
|
||||
[3]: https://github.com/valkey-io/valkey/blob/unstable/SECURITY.md
|
||||
Loading…
Reference in New Issue