aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/pull_request.yml
diff options
context:
space:
mode:
authorHarsh Shandilya <msfjarvis@gmail.com>2020-05-04 20:59:52 +0530
committerGitHub <noreply@github.com>2020-05-04 20:59:52 +0530
commitf99a14d95b7f9df482585f043ce1263662e66132 (patch)
treec27a7ff0646c2042eb97e3f489abda4395dcd593 /.github/workflows/pull_request.yml
parentadf38e95e627b999a657eb6e3340778928cbd420 (diff)
github: implement path filtering to run actions only when required (#760)
Diffstat (limited to '.github/workflows/pull_request.yml')
-rw-r--r--.github/workflows/pull_request.yml11
1 files changed, 10 insertions, 1 deletions
diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml
index a6cfccc3..59fd15f5 100644
--- a/.github/workflows/pull_request.yml
+++ b/.github/workflows/pull_request.yml
@@ -1,4 +1,13 @@
-on: pull_request
+on:
+ pull_request:
+ paths:
+ - '.github/**'
+ - 'app/**'
+ - 'gradle/**'
+ - '*.properties'
+ - '*.gradle'
+ - 'gradlew'
+ - 'gradlew.bat'
name: Check pull request
jobs: