From 1f889fce74eacbd00ce5b00612f2de08151d493a 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: