From 190c50b2916596781707ee452763e45a22f25b1b Mon Sep 17 00:00:00 2001 From: walkowif <59475134+walkowif@users.noreply.github.com> Date: Fri, 8 Mar 2024 11:37:19 +0100 Subject: [PATCH] Add concurrency group input to R CMD check workflow (#220) --- .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..0e981fd8 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 in case a calling workflow would like to use multiple instances of this workflow simultaneously. + 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: