summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarsh Shandilya <me@msfjarvis.dev>2022-12-08 18:48:22 +0530
committerHarsh Shandilya <me@msfjarvis.dev>2022-12-08 18:51:15 +0530
commit047766225f0f4b789240ef745f36029e56289687 (patch)
tree1bf83d69c0d2c701acdc1fa24705ade2c6902512
parent54eab762a8d2cb4a344c8ae76fa0f842dd196627 (diff)
fix(ci): only validate wrapper when changed
-rw-r--r--.github/workflows/validate_gradle_wrapper.yml5
1 files changed, 5 insertions, 0 deletions
diff --git a/.github/workflows/validate_gradle_wrapper.yml b/.github/workflows/validate_gradle_wrapper.yml
index 98b909b3..6d82e474 100644
--- a/.github/workflows/validate_gradle_wrapper.yml
+++ b/.github/workflows/validate_gradle_wrapper.yml
@@ -3,6 +3,11 @@ on:
push:
branches:
- develop
+ paths:
+ - ".github/workflows/validate_gradle_wrapper.yml"
+ - "gradle/**"
+ - "gradlew"
+ - "gradlew.bat"
pull_request:
paths:
- ".github/workflows/validate_gradle_wrapper.yml"