From 6d34e8e80d66fda8334bdcb10ab09a9edc4457ba Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Fri, 20 Sep 2024 01:12:18 +0000 Subject: [PATCH] add concurrency check to gradle-check workflow (#16007) Signed-off-by: Rishabh Singh (cherry picked from commit 9537d39cc7f4a55c20b7e6f3f3e1a8cec5cb5ec7) Signed-off-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)