This is an automated email from the ASF dual-hosted git repository.
delei pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/fesod.git
The following commit(s) were added to refs/heads/main by this push:
new 2883bf8a ci: add concurrency control to GitHub Actions workflows (#777)
2883bf8a is described below
commit 2883bf8ad1d5ca7be4d8802bf3e473d808f33881
Author: gongzhongqiang <[email protected]>
AuthorDate: Wed Jan 7 21:15:57 2026 +0800
ci: add concurrency control to GitHub Actions workflows (#777)
---
.github/workflows/ci-docs.yml | 4 ++++
.github/workflows/ci.yml | 4 ++++
.github/workflows/codeql-scan.yml | 4 ++++
.github/workflows/license-check.yml | 4 ++++
4 files changed, 16 insertions(+)
diff --git a/.github/workflows/ci-docs.yml b/.github/workflows/ci-docs.yml
index 1395a6b3..726e13fb 100644
--- a/.github/workflows/ci-docs.yml
+++ b/.github/workflows/ci-docs.yml
@@ -22,6 +22,10 @@ on:
paths:
- 'website/**'
+concurrency:
+ group: ci-docs-${{ github.event.pull_request.number || github.ref }}
+ cancel-in-progress: true
+
jobs:
build-and-lint:
runs-on: ubuntu-latest
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 4a45f4c9..6b9f645c 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -33,6 +33,10 @@ on:
- 'LICENSE'
- 'NOTICE'
+concurrency:
+ group: ci-${{ github.event.pull_request.number || github.ref }}
+ cancel-in-progress: true
+
permissions:
checks: write
pull-requests: write
diff --git a/.github/workflows/codeql-scan.yml
b/.github/workflows/codeql-scan.yml
index cff98a09..585aa148 100644
--- a/.github/workflows/codeql-scan.yml
+++ b/.github/workflows/codeql-scan.yml
@@ -27,6 +27,10 @@ on:
schedule:
- cron: '0 0 * * *' # 每天0点自动扫描
+concurrency:
+ group: codeql-${{ github.event.pull_request.number || github.ref }}
+ cancel-in-progress: true
+
jobs:
codeql:
if: (github.event_name == 'schedule' && github.repository ==
'apache/fesod') || (github.event_name != 'schedule')
diff --git a/.github/workflows/license-check.yml
b/.github/workflows/license-check.yml
index 7fd0c29b..fb6b7a7d 100644
--- a/.github/workflows/license-check.yml
+++ b/.github/workflows/license-check.yml
@@ -19,6 +19,10 @@ name: Check License Header
on: [ push, pull_request ]
+concurrency:
+ group: license-check-${{ github.event.pull_request.number || github.ref }}
+ cancel-in-progress: true
+
jobs:
license:
runs-on: ubuntu-latest
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]