Automatically cancel any previous CI runs for the ci.yml workflow, keeping only the latest one active

This commit is contained in:
XieYunshen
2025-06-16 11:02:18 +08:00
parent 5106c83e0d
commit 0c490b72cc

View File

@@ -5,6 +5,9 @@ on:
branches: [ develop ]
workflow_dispatch:
concurrency:
group: ${{ github.event.pull_request.number }}
cancel-in-progress: true
jobs:
build: