This is an automated email from the ASF dual-hosted git repository.
mbien pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/netbeans.git
The following commit(s) were added to refs/heads/master by this push:
new 89ef85f53c fix CI concurrency settings
new b138405a53 Merge pull request #4514 from mbien/ci-concurrency-fix
89ef85f53c is described below
commit 89ef85f53c0dd3f9a75fb6155982f58f67a51f3d
Author: Michael Bien <[email protected]>
AuthorDate: Wed Aug 17 18:53:25 2022 +0200
fix CI concurrency settings
add base_ref to the group so that two parallel branch sync PRs
won't cancel each other
---
.github/workflows/main.yml | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 2ecf1e51c4..b5899ef0b0 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -21,10 +21,10 @@ on:
push:
pull_request:
-# cancel PR workflow run if PR is updated while jobs are still running
-# if this is not a PR run (no github.head_ref defined), it won't be affected
+# cancel other PR workflow run in the same head-base group if it exists (e.g.
during PR syncs)
+# if this is not a PR run (no github.head_ref and github.base_ref defined),
use an UID as group
concurrency:
- group: ${{ github.head_ref || github.run_id }}
+ group: ${{ github.head_ref || github.run_id }}-${{ github.base_ref }}
cancel-in-progress: true
jobs:
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists