From adcc4faa556bcd969fd48d5b88ec5150aee499fa Mon Sep 17 00:00:00 2001 From: Daz DeBoer Date: Mon, 14 Mar 2022 13:28:54 -0600 Subject: [PATCH] Prevent concurrent running of integ-test workflows --- .github/workflows/integTest-action-inputs.yml | 3 +++ .github/workflows/integTest-caching-config.yml | 3 +++ .github/workflows/integTest-caching-configuration-cache.yml | 3 +++ .github/workflows/integTest-caching-gradle-home.yml | 3 +++ .github/workflows/integTest-caching-java-toolchain.yml | 3 +++ .github/workflows/integTest-execution-with-caching.yml | 3 +++ .github/workflows/integTest-execution.yml | 3 +++ .github/workflows/integTest-gradle-user-home.yml | 3 +++ .github/workflows/integTest-gradle-versions.yml | 3 +++ .github/workflows/integTest-sample-gradle-plugin.yml | 3 +++ .github/workflows/integTest-sample-kotlin-dsl.yml | 3 +++ 11 files changed, 33 insertions(+) diff --git a/.github/workflows/integTest-action-inputs.yml b/.github/workflows/integTest-action-inputs.yml index 469c823..062028b 100644 --- a/.github/workflows/integTest-action-inputs.yml +++ b/.github/workflows/integTest-action-inputs.yml @@ -6,6 +6,9 @@ on: push: workflow_dispatch: +concurrency: + group: ${{ github.workflow }} + env: GRADLE_BUILD_ACTION_CACHE_KEY_PREFIX: ${{github.workflow}}#${{github.run_number}}:${{github.run_attempt}}- diff --git a/.github/workflows/integTest-caching-config.yml b/.github/workflows/integTest-caching-config.yml index 96dc715..1d4a020 100644 --- a/.github/workflows/integTest-caching-config.yml +++ b/.github/workflows/integTest-caching-config.yml @@ -6,6 +6,9 @@ on: push: workflow_dispatch: +concurrency: + group: ${{ github.workflow }} + env: GRADLE_BUILD_ACTION_CACHE_KEY_PREFIX: ${{github.workflow}}#${{github.run_number}}:${{github.run_attempt}}- GRADLE_BUILD_ACTION_CACHE_DEBUG_ENABLED: true diff --git a/.github/workflows/integTest-caching-configuration-cache.yml b/.github/workflows/integTest-caching-configuration-cache.yml index 8b921a7..654c8d8 100644 --- a/.github/workflows/integTest-caching-configuration-cache.yml +++ b/.github/workflows/integTest-caching-configuration-cache.yml @@ -6,6 +6,9 @@ on: push: workflow_dispatch: +concurrency: + group: ${{ github.workflow }} + env: GRADLE_BUILD_ACTION_CACHE_DEBUG_ENABLED: true diff --git a/.github/workflows/integTest-caching-gradle-home.yml b/.github/workflows/integTest-caching-gradle-home.yml index 7296f21..3a60fad 100644 --- a/.github/workflows/integTest-caching-gradle-home.yml +++ b/.github/workflows/integTest-caching-gradle-home.yml @@ -6,6 +6,9 @@ on: push: workflow_dispatch: +concurrency: + group: ${{ github.workflow }} + env: GRADLE_BUILD_ACTION_CACHE_KEY_PREFIX: ${{github.workflow}}#${{github.run_number}}:${{github.run_attempt}}- diff --git a/.github/workflows/integTest-caching-java-toolchain.yml b/.github/workflows/integTest-caching-java-toolchain.yml index d0bc6a7..7fba137 100644 --- a/.github/workflows/integTest-caching-java-toolchain.yml +++ b/.github/workflows/integTest-caching-java-toolchain.yml @@ -6,6 +6,9 @@ on: push: workflow_dispatch: +concurrency: + group: ${{ github.workflow }} + env: GRADLE_BUILD_ACTION_CACHE_KEY_PREFIX: ${{github.workflow}}#${{github.run_number}}:${{github.run_attempt}}- diff --git a/.github/workflows/integTest-execution-with-caching.yml b/.github/workflows/integTest-execution-with-caching.yml index ebe95a3..a2a5f47 100644 --- a/.github/workflows/integTest-execution-with-caching.yml +++ b/.github/workflows/integTest-execution-with-caching.yml @@ -6,6 +6,9 @@ on: push: workflow_dispatch: +concurrency: + group: ${{ github.workflow }} + env: GRADLE_BUILD_ACTION_CACHE_KEY_PREFIX: ${{github.workflow}}#${{github.run_number}}:${{github.run_attempt}}- diff --git a/.github/workflows/integTest-execution.yml b/.github/workflows/integTest-execution.yml index b606b5d..2e5a7b7 100644 --- a/.github/workflows/integTest-execution.yml +++ b/.github/workflows/integTest-execution.yml @@ -6,6 +6,9 @@ on: push: workflow_dispatch: +concurrency: + group: ${{ github.workflow }} + env: GRADLE_BUILD_ACTION_CACHE_KEY_PREFIX: ${{github.workflow}}#${{github.run_number}}:${{github.run_attempt}}- diff --git a/.github/workflows/integTest-gradle-user-home.yml b/.github/workflows/integTest-gradle-user-home.yml index 9b280de..dfee97e 100644 --- a/.github/workflows/integTest-gradle-user-home.yml +++ b/.github/workflows/integTest-gradle-user-home.yml @@ -6,6 +6,9 @@ on: push: workflow_dispatch: +concurrency: + group: ${{ github.workflow }} + env: GRADLE_BUILD_ACTION_CACHE_KEY_PREFIX: ${{github.workflow}}#${{github.run_number}}:${{github.run_attempt}}- GRADLE_USER_HOME: ${{github.workspace}}/custom/gradle/home diff --git a/.github/workflows/integTest-gradle-versions.yml b/.github/workflows/integTest-gradle-versions.yml index dbb6012..c2ddd29 100644 --- a/.github/workflows/integTest-gradle-versions.yml +++ b/.github/workflows/integTest-gradle-versions.yml @@ -6,6 +6,9 @@ on: push: workflow_dispatch: +concurrency: + group: ${{ github.workflow }} + env: GRADLE_BUILD_ACTION_CACHE_KEY_PREFIX: ${{github.workflow}}#${{github.run_number}}:${{github.run_attempt}}- diff --git a/.github/workflows/integTest-sample-gradle-plugin.yml b/.github/workflows/integTest-sample-gradle-plugin.yml index 568c945..14e39d3 100644 --- a/.github/workflows/integTest-sample-gradle-plugin.yml +++ b/.github/workflows/integTest-sample-gradle-plugin.yml @@ -6,6 +6,9 @@ on: push: workflow_dispatch: +concurrency: + group: ${{ github.workflow }} + env: GRADLE_BUILD_ACTION_CACHE_KEY_PREFIX: ${{github.workflow}}#${{github.run_number}}:${{github.run_attempt}}- GRADLE_BUILD_ACTION_CACHE_DEBUG_ENABLED: true diff --git a/.github/workflows/integTest-sample-kotlin-dsl.yml b/.github/workflows/integTest-sample-kotlin-dsl.yml index 0b641df..20d11db 100644 --- a/.github/workflows/integTest-sample-kotlin-dsl.yml +++ b/.github/workflows/integTest-sample-kotlin-dsl.yml @@ -6,6 +6,9 @@ on: push: workflow_dispatch: +concurrency: + group: ${{ github.workflow }} + env: GRADLE_BUILD_ACTION_CACHE_KEY_PREFIX: ${{github.workflow}}#${{github.run_number}}:${{github.run_attempt}}- GRADLE_BUILD_ACTION_CACHE_DEBUG_ENABLED: true