From 8fbafc3fc3b79a9d0e3019386eb0f689dff864dc Mon Sep 17 00:00:00 2001 From: Franciszek Walkowiak Date: Fri, 8 Mar 2024 11:18:11 +0100 Subject: [PATCH 1/2] Add concurrency group input --- .github/workflows/build-check-install.yaml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-check-install.yaml b/.github/workflows/build-check-install.yaml index 55b2f958..99f265e9 100644 --- a/.github/workflows/build-check-install.yaml +++ b/.github/workflows/build-check-install.yaml @@ -168,9 +168,15 @@ on: required: false type: string default: "" + concurrency-group: + description: | + Concurrency group name + required: false + type: string + default: "" concurrency: - group: r-cmd-${{ github.event.pull_request.number || github.ref }} + group: r-cmd-${{ inputs.concurrency-group }}-${{ github.event.pull_request.number || github.ref }} cancel-in-progress: true jobs: From 5fec3df7d8dc66f1fe10d5731d6df6bb9242de90 Mon Sep 17 00:00:00 2001 From: Franciszek Walkowiak Date: Fri, 8 Mar 2024 11:28:54 +0100 Subject: [PATCH 2/2] Update description --- .github/workflows/build-check-install.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-check-install.yaml b/.github/workflows/build-check-install.yaml index 99f265e9..0e981fd8 100644 --- a/.github/workflows/build-check-install.yaml +++ b/.github/workflows/build-check-install.yaml @@ -170,7 +170,7 @@ on: default: "" concurrency-group: description: | - Concurrency group name + Concurrency group name in case a calling workflow would like to use multiple instances of this workflow simultaneously. required: false type: string default: ""