You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by sj...@apache.org on 2022/01/27 22:23:52 UTC
[maven-gh-actions-shared] branch v2 updated: Allow single build per branch or PR
This is an automated email from the ASF dual-hosted git repository.
sjaranowski pushed a commit to branch v2
in repository https://gitbox.apache.org/repos/asf/maven-gh-actions-shared.git
The following commit(s) were added to refs/heads/v2 by this push:
new 4d2fdb5 Allow single build per branch or PR
4d2fdb5 is described below
commit 4d2fdb5e0bd9453afe55a604ffa6aab710729a5d
Author: Slawomir Jaranowski <s....@gmail.com>
AuthorDate: Thu Jan 27 21:33:13 2022 +0100
Allow single build per branch or PR
Some build can take long time
so allow only single build at the same time
---
.github/workflows/maven-verify.yml | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/.github/workflows/maven-verify.yml b/.github/workflows/maven-verify.yml
index ce175b1..466d5a6 100644
--- a/.github/workflows/maven-verify.yml
+++ b/.github/workflows/maven-verify.yml
@@ -128,6 +128,11 @@ on:
required: false
type: string
+# allow single build per branch or PR
+concurrency:
+ group: ${{ github.workflow }}-${{ github.ref }}
+ cancel-in-progress: true
+
jobs:
# verify build on one node - before matrix will start