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 20:44:31 UTC

[maven-gh-actions-shared] branch concurrency updated (4ef66aa -> 06b044b)

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

sjaranowski pushed a change to branch concurrency
in repository https://gitbox.apache.org/repos/asf/maven-gh-actions-shared.git.


 discard 4ef66aa  Allow single build per branch or PR
     new 06b044b  Allow single build per branch or PR

This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version.  This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:

 * -- * -- B -- O -- O -- O   (4ef66aa)
            \
             N -- N -- N   refs/heads/concurrency (06b044b)

You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.

Any revisions marked "omit" are not gone; other references still
refer to them.  Any revisions marked "discard" are gone forever.

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .github/workflows/maven-verify-test.yml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

[maven-gh-actions-shared] 01/01: Allow single build per branch or PR

Posted by sj...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

sjaranowski pushed a commit to branch concurrency
in repository https://gitbox.apache.org/repos/asf/maven-gh-actions-shared.git

commit 06b044b683400abfcc3ef89e5d2d02da417cc077
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