This is an automated email from the ASF dual-hosted git repository.
Cole-Greer pushed a commit to branch 3.7-dev
in repository https://gitbox.apache.org/repos/asf/tinkerpop.git
The following commit(s) were added to refs/heads/3.7-dev by this push:
new 9ba0b887bd Configure GitHub workflows to use concurrency
cancel-in-progress for (#3454)
9ba0b887bd is described below
commit 9ba0b887bda5a65802445449213ba5fca8a5836b
Author: Aurélien Pupier <[email protected]>
AuthorDate: Fri Jun 12 00:38:42 2026 +0200
Configure GitHub workflows to use concurrency cancel-in-progress for (#3454)
pull requests
see recommended best practices at Apache
https://cwiki.apache.org/confluence/pages/viewpage.action?spaceKey=INFRA&title=GitHub+Actions+Recommended+Practices
Signed-off-by: Aurélien Pupier <[email protected]>
---
.github/workflows/build-test.yml | 3 +++
.github/workflows/codeql.yml | 4 ++++
2 files changed, 7 insertions(+)
diff --git a/.github/workflows/build-test.yml b/.github/workflows/build-test.yml
index 1546a8bd75..3aea3fa45b 100644
--- a/.github/workflows/build-test.yml
+++ b/.github/workflows/build-test.yml
@@ -1,5 +1,8 @@
name: build-test
on: [push, pull_request]
+concurrency:
+ group: ${{ github.workflow }}-${{ github.event.pull_request.number ||
github.ref }}
+ cancel-in-progress: ${{ github.event_name == 'pull_request' }}
jobs:
smoke:
name: smoke
diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml
index 4372ad78c1..fa23fb399c 100644
--- a/.github/workflows/codeql.yml
+++ b/.github/workflows/codeql.yml
@@ -9,6 +9,10 @@ on:
schedule:
- cron: '22 8 * * 1'
+concurrency:
+ group: ${{ github.workflow }}-${{ github.event.pull_request.number ||
github.ref }}
+ cancel-in-progress: ${{ github.event_name == 'pull_request' }}
+
jobs:
analyze:
name: Analyze