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-scheduler-interface.git


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

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

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

diff --git a/.github/workflows/main.yml b/.github/workflows/pre-commit.yml
similarity index 79%
rename from .github/workflows/main.yml
rename to .github/workflows/pre-commit.yml
index a889c25..e03cb19 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/pre-commit.yml
@@ -5,6 +5,10 @@ on:
     branches: 
       - master
 
+concurrency:
+  group: ${{ github.workflow }}-${{ github.event.pull_request.number }}
+  cancel-in-progress: true
+
 jobs:
   build:
     runs-on: ubuntu-latest


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

Reply via email to