github: implement path filtering to run actions only when required (#760)
This commit is contained in:
parent
adf38e95e6
commit
f99a14d95b
3 changed files with 25 additions and 2 deletions
8
.github/workflows/branch_deploy.yml
vendored
8
.github/workflows/branch_deploy.yml
vendored
|
@ -2,6 +2,14 @@ on:
|
|||
push:
|
||||
branches-ignore:
|
||||
- master
|
||||
paths:
|
||||
- '.github/**'
|
||||
- 'app/**'
|
||||
- 'gradle/**'
|
||||
- '*.properties'
|
||||
- '*.gradle'
|
||||
- 'gradlew'
|
||||
- 'gradlew.bat'
|
||||
|
||||
name: Build debug
|
||||
jobs:
|
||||
|
|
11
.github/workflows/pull_request.yml
vendored
11
.github/workflows/pull_request.yml
vendored
|
@ -1,4 +1,13 @@
|
|||
on: pull_request
|
||||
on:
|
||||
pull_request:
|
||||
paths:
|
||||
- '.github/**'
|
||||
- 'app/**'
|
||||
- 'gradle/**'
|
||||
- '*.properties'
|
||||
- '*.gradle'
|
||||
- 'gradlew'
|
||||
- 'gradlew.bat'
|
||||
|
||||
name: Check pull request
|
||||
jobs:
|
||||
|
|
8
.github/workflows/validate_wrapper.yml
vendored
8
.github/workflows/validate_wrapper.yml
vendored
|
@ -1,5 +1,11 @@
|
|||
name: "Validate Gradle Wrapper"
|
||||
on: pull_request
|
||||
on:
|
||||
pull_request:
|
||||
paths:
|
||||
- '.github/**'
|
||||
- 'gradle/**'
|
||||
- 'gradlew'
|
||||
- 'gradlew.bat'
|
||||
|
||||
jobs:
|
||||
validation:
|
||||
|
|
Loading…
Reference in a new issue