From f099f196c95a096460a97c0e70ea44ba8a037a11 Mon Sep 17 00:00:00 2001 From: Grzegorz Piwowarek Date: Wed, 24 Jul 2024 12:30:06 +0300 Subject: [PATCH] Prevent double-trigger of gradlew validation job --- .github/workflows/gradle-wrapper-validation.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/gradle-wrapper-validation.yml b/.github/workflows/gradle-wrapper-validation.yml index 44e0dc102..4d003a0e8 100644 --- a/.github/workflows/gradle-wrapper-validation.yml +++ b/.github/workflows/gradle-wrapper-validation.yml @@ -1,5 +1,11 @@ name: "Validate Gradle Wrapper" -on: [push, pull_request] +on: + push: + branches: + - master + pull_request: + branches: + - master jobs: validation: