From 813d63ef2f5d91737a9fc900c1347ab728818c52 Mon Sep 17 00:00:00 2001 From: "opensearch-trigger-bot[bot]" <98922864+opensearch-trigger-bot[bot]@users.noreply.github.com> Date: Thu, 19 Sep 2024 22:07:12 -0400 Subject: [PATCH] add concurrency check to gradle-check workflow (#16007) (#16010) (cherry picked from commit 9537d39cc7f4a55c20b7e6f3f3e1a8cec5cb5ec7) Signed-off-by: Rishabh Singh Signed-off-by: github-actions[bot] Co-authored-by: github-actions[bot] --- .github/workflows/gradle-check.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/gradle-check.yml b/.github/workflows/gradle-check.yml index 1b9b30625eb83..1421eeb7f7576 100644 --- a/.github/workflows/gradle-check.yml +++ b/.github/workflows/gradle-check.yml @@ -8,6 +8,10 @@ on: pull_request_target: types: [opened, synchronize, reopened] +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number }} + cancel-in-progress: true + permissions: contents: read # to fetch code (actions/checkout)