mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-04-30 12:44:39 +00:00
actions: skip some job using "paths-ignore" filter
If only docs/images are changed, some jobs should not run. Fixes: #5759 Signed-off-by: Bin Liu <bin@hyper.sh>
This commit is contained in:
parent
f02bb1a9cb
commit
340e24f175
9
.github/workflows/cargo-deny-runner.yaml
vendored
9
.github/workflows/cargo-deny-runner.yaml
vendored
@ -1,5 +1,12 @@
|
|||||||
name: Cargo Crates Check Runner
|
name: Cargo Crates Check Runner
|
||||||
on: [pull_request]
|
on:
|
||||||
|
- pull_request:
|
||||||
|
types:
|
||||||
|
- opened
|
||||||
|
- edited
|
||||||
|
- reopened
|
||||||
|
- synchronize
|
||||||
|
paths-ignore: [ '**.md', '**.png', '**.jpg', '**.jpeg', '**.svg', '/docs/**' ]
|
||||||
jobs:
|
jobs:
|
||||||
cargo-deny-runner:
|
cargo-deny-runner:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
2
.github/workflows/darwin-tests.yaml
vendored
2
.github/workflows/darwin-tests.yaml
vendored
@ -5,7 +5,7 @@ on:
|
|||||||
- edited
|
- edited
|
||||||
- reopened
|
- reopened
|
||||||
- synchronize
|
- synchronize
|
||||||
|
paths-ignore: [ '**.md', '**.png', '**.jpg', '**.jpeg', '**.svg', '/docs/**' ]
|
||||||
name: Darwin tests
|
name: Darwin tests
|
||||||
jobs:
|
jobs:
|
||||||
test:
|
test:
|
||||||
|
1
.github/workflows/snap.yaml
vendored
1
.github/workflows/snap.yaml
vendored
@ -6,6 +6,7 @@ on:
|
|||||||
- synchronize
|
- synchronize
|
||||||
- reopened
|
- reopened
|
||||||
- edited
|
- edited
|
||||||
|
paths-ignore: [ '**.md', '**.png', '**.jpg', '**.jpeg', '**.svg', '/docs/**' ]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test:
|
test:
|
||||||
|
Loading…
Reference in New Issue
Block a user