ci: don't run all workflows in unrelated workflows changes (#2142)
This commit is contained in:
parent
9b3207b8a4
commit
2b6966e089
|
@ -4,14 +4,16 @@ on:
|
|||
push:
|
||||
branches: [main]
|
||||
paths:
|
||||
- .github/workflows/**
|
||||
- .github/workflows/_python.yml
|
||||
- .github/workflows/analyzer.yml
|
||||
- analyzer/**
|
||||
- shared/**
|
||||
|
||||
pull_request:
|
||||
branches: [main]
|
||||
paths:
|
||||
- .github/workflows/**
|
||||
- .github/workflows/_python.yml
|
||||
- .github/workflows/analyzer.yml
|
||||
- analyzer/**
|
||||
- shared/**
|
||||
|
||||
|
|
|
@ -4,14 +4,16 @@ on:
|
|||
push:
|
||||
branches: [main]
|
||||
paths:
|
||||
- .github/workflows/**
|
||||
- .github/workflows/_python.yml
|
||||
- .github/workflows/api-client.yml
|
||||
- api-client/**
|
||||
- shared/**
|
||||
|
||||
pull_request:
|
||||
branches: [main]
|
||||
paths:
|
||||
- .github/workflows/**
|
||||
- .github/workflows/_python.yml
|
||||
- .github/workflows/api-client.yml
|
||||
- api-client/**
|
||||
- shared/**
|
||||
|
||||
|
|
|
@ -4,13 +4,13 @@ on:
|
|||
push:
|
||||
branches: [main]
|
||||
paths:
|
||||
- .github/workflows/**
|
||||
- .github/workflows/api-schema.yml
|
||||
- api/**
|
||||
|
||||
pull_request:
|
||||
branches: [main]
|
||||
paths:
|
||||
- .github/workflows/**
|
||||
- .github/workflows/api-schema.yml
|
||||
- api/**
|
||||
|
||||
concurrency:
|
||||
|
|
|
@ -4,14 +4,16 @@ on:
|
|||
push:
|
||||
branches: [main]
|
||||
paths:
|
||||
- .github/workflows/**
|
||||
- .github/workflows/_python.yml
|
||||
- .github/workflows/api.yml
|
||||
- api/**
|
||||
- shared/**
|
||||
|
||||
pull_request:
|
||||
branches: [main]
|
||||
paths:
|
||||
- .github/workflows/**
|
||||
- .github/workflows/_python.yml
|
||||
- .github/workflows/api.yml
|
||||
- api/**
|
||||
- shared/**
|
||||
|
||||
|
|
|
@ -4,14 +4,14 @@ on:
|
|||
push:
|
||||
branches: [main]
|
||||
paths:
|
||||
- .github/workflows/**
|
||||
- .github/workflows/legacy.yml
|
||||
- api/**
|
||||
- legacy/**
|
||||
|
||||
pull_request:
|
||||
branches: [main]
|
||||
paths:
|
||||
- .github/workflows/**
|
||||
- .github/workflows/legacy.yml
|
||||
- api/**
|
||||
- legacy/**
|
||||
|
||||
|
|
|
@ -4,7 +4,8 @@ on:
|
|||
push:
|
||||
branches: [main]
|
||||
paths:
|
||||
- .github/workflows/**
|
||||
- .github/workflows/_python.yml
|
||||
- .github/workflows/playout.yml
|
||||
- playout/**
|
||||
- api-client/**
|
||||
- shared/**
|
||||
|
@ -12,7 +13,8 @@ on:
|
|||
pull_request:
|
||||
branches: [main]
|
||||
paths:
|
||||
- .github/workflows/**
|
||||
- .github/workflows/_python.yml
|
||||
- .github/workflows/playout.yml
|
||||
- playout/**
|
||||
- api-client/**
|
||||
- shared/**
|
||||
|
|
|
@ -4,13 +4,15 @@ on:
|
|||
push:
|
||||
branches: [main]
|
||||
paths:
|
||||
- .github/workflows/**
|
||||
- .github/workflows/_python.yml
|
||||
- .github/workflows/shared.yml
|
||||
- shared/**
|
||||
|
||||
pull_request:
|
||||
branches: [main]
|
||||
paths:
|
||||
- .github/workflows/**
|
||||
- .github/workflows/_python.yml
|
||||
- .github/workflows/shared.yml
|
||||
- shared/**
|
||||
|
||||
jobs:
|
||||
|
|
|
@ -4,13 +4,15 @@ on:
|
|||
push:
|
||||
branches: [main]
|
||||
paths:
|
||||
- .github/workflows/**
|
||||
- .github/workflows/_python.yml
|
||||
- .github/workflows/worker.yml
|
||||
- worker/**
|
||||
|
||||
pull_request:
|
||||
branches: [main]
|
||||
paths:
|
||||
- .github/workflows/**
|
||||
- .github/workflows/_python.yml
|
||||
- .github/workflows/worker.yml
|
||||
- worker/**
|
||||
|
||||
jobs:
|
||||
|
|
Loading…
Reference in New Issue