From f344e25b841b8beed3eac08f6187cd040abeef38 Mon Sep 17 00:00:00 2001 From: Daz DeBoer Date: Wed, 8 Dec 2021 14:20:13 -0700 Subject: [PATCH] Attempt to reduce duplicate workflows on PR creation --- .github/workflows/dev.yml | 1 + .github/workflows/integTest-action-inputs.yml | 1 + .github/workflows/integTest-caching-config.yml | 1 + .github/workflows/integTest-caching-configuration-cache.yml | 1 + .github/workflows/integTest-caching-gradle-home.yml | 1 + .github/workflows/integTest-execution.yml | 1 + .github/workflows/integTest-gradle-user-home.yml | 1 + .github/workflows/integTest-kotlin-dsl.yml | 1 + 8 files changed, 8 insertions(+) diff --git a/.github/workflows/dev.yml b/.github/workflows/dev.yml index a402529..2cf6cd4 100644 --- a/.github/workflows/dev.yml +++ b/.github/workflows/dev.yml @@ -2,6 +2,7 @@ name: Verify generated outputs on: pull_request: + types: [assigned, review_requested] push: jobs: diff --git a/.github/workflows/integTest-action-inputs.yml b/.github/workflows/integTest-action-inputs.yml index 46489df..8d197de 100644 --- a/.github/workflows/integTest-action-inputs.yml +++ b/.github/workflows/integTest-action-inputs.yml @@ -2,6 +2,7 @@ name: Test different action inputs on: pull_request: + types: [assigned, review_requested] push: workflow_dispatch: diff --git a/.github/workflows/integTest-caching-config.yml b/.github/workflows/integTest-caching-config.yml index f5294b5..d5190fa 100644 --- a/.github/workflows/integTest-caching-config.yml +++ b/.github/workflows/integTest-caching-config.yml @@ -2,6 +2,7 @@ name: Test caching configuration on: pull_request: + types: [assigned, review_requested] push: workflow_dispatch: diff --git a/.github/workflows/integTest-caching-configuration-cache.yml b/.github/workflows/integTest-caching-configuration-cache.yml index 7ba7f27..5d037b5 100644 --- a/.github/workflows/integTest-caching-configuration-cache.yml +++ b/.github/workflows/integTest-caching-configuration-cache.yml @@ -2,6 +2,7 @@ name: Test save/restore configuration-cache state on: pull_request: + types: [assigned, review_requested] push: workflow_dispatch: diff --git a/.github/workflows/integTest-caching-gradle-home.yml b/.github/workflows/integTest-caching-gradle-home.yml index 1ee5c67..b3a4eee 100644 --- a/.github/workflows/integTest-caching-gradle-home.yml +++ b/.github/workflows/integTest-caching-gradle-home.yml @@ -2,6 +2,7 @@ name: Test save/restore Gradle Home directory on: pull_request: + types: [assigned, review_requested] push: workflow_dispatch: diff --git a/.github/workflows/integTest-execution.yml b/.github/workflows/integTest-execution.yml index 62caf23..a939d20 100644 --- a/.github/workflows/integTest-execution.yml +++ b/.github/workflows/integTest-execution.yml @@ -2,6 +2,7 @@ name: Test Gradle execution on: pull_request: + types: [assigned, review_requested] push: workflow_dispatch: diff --git a/.github/workflows/integTest-gradle-user-home.yml b/.github/workflows/integTest-gradle-user-home.yml index d6a7e47..6989ef8 100644 --- a/.github/workflows/integTest-gradle-user-home.yml +++ b/.github/workflows/integTest-gradle-user-home.yml @@ -2,6 +2,7 @@ name: Test caching with a custom GRADLE_USER_HOME on: pull_request: + types: [assigned, review_requested] push: workflow_dispatch: diff --git a/.github/workflows/integTest-kotlin-dsl.yml b/.github/workflows/integTest-kotlin-dsl.yml index c0ce4ae..d0d80b2 100644 --- a/.github/workflows/integTest-kotlin-dsl.yml +++ b/.github/workflows/integTest-kotlin-dsl.yml @@ -2,6 +2,7 @@ name: Test caching with Kotlin DSL on: pull_request: + types: [assigned, review_requested] push: workflow_dispatch: