mirror of
https://github.com/nlohmann/json.git
synced 2025-11-23 19:34:10 +08:00
Use concurrency (#3610)
Use concurrency in GitHub workflows to cancel in-progress or pending runs for the same ref.
This commit is contained in:
committed by
GitHub
parent
5520761433
commit
298e4a9449
4
.github/workflows/codeql-analysis.yml
vendored
4
.github/workflows/codeql-analysis.yml
vendored
@@ -11,6 +11,10 @@ on:
|
||||
- cron: '0 19 * * 1'
|
||||
workflow_dispatch:
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref || github.run_id }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
CodeQL-Build:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user