This is an automated email from the ASF dual-hosted git repository.
hsluoyz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/casbin.git
The following commit(s) were added to refs/heads/master by this push:
new 6c09ba2 fix: Configure GitHub workflows to use concurrency
cancel-in-progress for (#1734)
6c09ba2 is described below
commit 6c09ba275d42c0e03c46c1aae132e3254a3594dc
Author: Aurélien Pupier <[email protected]>
AuthorDate: Tue Jun 16 15:12:21 2026 +0200
fix: Configure GitHub workflows to use concurrency cancel-in-progress for
(#1734)
---
.github/workflows/default.yml | 4 ++++
.github/workflows/golangci-lint.yml | 4 ++++
.github/workflows/performance-pr.yml | 4 ++++
3 files changed, 12 insertions(+)
diff --git a/.github/workflows/default.yml b/.github/workflows/default.yml
index 6881758..f9ab698 100644
--- a/.github/workflows/default.yml
+++ b/.github/workflows/default.yml
@@ -6,6 +6,10 @@ on:
- master
pull_request:
+concurrency:
+ group: ${{ github.workflow }}-${{ github.event.pull_request.number ||
github.ref }}
+ cancel-in-progress: ${{ github.event_name == 'pull_request' }}
+
jobs:
test:
runs-on: ubuntu-latest
diff --git a/.github/workflows/golangci-lint.yml
b/.github/workflows/golangci-lint.yml
index 7791256..f16c34e 100644
--- a/.github/workflows/golangci-lint.yml
+++ b/.github/workflows/golangci-lint.yml
@@ -7,6 +7,10 @@ on:
- main
pull_request:
+concurrency:
+ group: ${{ github.workflow }}-${{ github.event.pull_request.number ||
github.ref }}
+ cancel-in-progress: ${{ github.event_name == 'pull_request' }}
+
jobs:
golangci:
runs-on: ubuntu-latest
diff --git a/.github/workflows/performance-pr.yml
b/.github/workflows/performance-pr.yml
index cda633c..21819ac 100644
--- a/.github/workflows/performance-pr.yml
+++ b/.github/workflows/performance-pr.yml
@@ -4,6 +4,10 @@ on:
pull_request:
branches: [master]
+concurrency:
+ group: ${{ github.workflow }}-${{ github.event.pull_request.number ||
github.ref }}
+ cancel-in-progress: ${{ github.event_name == 'pull_request' }}
+
jobs:
benchmark-pr:
name: Performance benchmark comparison
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]