This is an automated email from the ASF dual-hosted git repository.

ccondit pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/yunikorn-release.git


The following commit(s) were added to refs/heads/master by this push:
     new a1f91b0  [YUNIKORN-2893] Apply "cancel-in-progress" feature for each 
PR in Github Action (#183)
a1f91b0 is described below

commit a1f91b025f7c99fed2a6dad074f3dd66a389ba9e
Author: Tzu-Hua Lan <[email protected]>
AuthorDate: Fri Oct 4 12:31:29 2024 -0500

    [YUNIKORN-2893] Apply "cancel-in-progress" feature for each PR in Github 
Action (#183)
    
    Closes: #183
    
    Signed-off-by: Craig Condit <[email protected]>
---
 .github/workflows/pre-commit.yml | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml
index 984e858..c81ca95 100644
--- a/.github/workflows/pre-commit.yml
+++ b/.github/workflows/pre-commit.yml
@@ -20,6 +20,10 @@ on:
     branches:
       - master
 
+concurrency:
+  group: ${{ github.workflow }}-${{ github.event.pull_request.number }}
+  cancel-in-progress: true
+
 jobs:
   license:
     runs-on: ubuntu-latest


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to