github: implement path filtering to run actions only when required (#760)

This commit is contained in:
Harsh Shandilya 2020-05-04 20:59:52 +05:30 committed by GitHub
parent adf38e95e6
commit f99a14d95b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 25 additions and 2 deletions

View file

@ -2,6 +2,14 @@ on:
push:
branches-ignore:
- master
paths:
- '.github/**'
- 'app/**'
- 'gradle/**'
- '*.properties'
- '*.gradle'
- 'gradlew'
- 'gradlew.bat'
name: Build debug
jobs:

View file

@ -1,4 +1,13 @@
on: pull_request
on:
pull_request:
paths:
- '.github/**'
- 'app/**'
- 'gradle/**'
- '*.properties'
- '*.gradle'
- 'gradlew'
- 'gradlew.bat'
name: Check pull request
jobs:

View file

@ -1,5 +1,11 @@
name: "Validate Gradle Wrapper"
on: pull_request
on:
pull_request:
paths:
- '.github/**'
- 'gradle/**'
- 'gradlew'
- 'gradlew.bat'
jobs:
validation: