Skip to content

Commit

Permalink
Add concurrency groups for all workflows
Browse files Browse the repository at this point in the history
Aimed a preventing jobs from continuing to run if a newer version is ready
  • Loading branch information
c-git committed Dec 20, 2023
1 parent 36d7832 commit e1170c5
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/audit.yml
@@ -1,4 +1,9 @@
name: Security audit

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

on:
schedule:
- cron: '00 10 * * 3' # 06:00 GMT-4
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/general.yml
@@ -1,5 +1,9 @@
name: Rust

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

on:
push:
branches:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/release.yml
@@ -1,5 +1,9 @@
name: Release Build Confirmation

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

on:
push:
branches:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/semver_check.yml
@@ -1,5 +1,9 @@
name: Check Semver

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

on:
push:
branches:
Expand Down

0 comments on commit e1170c5

Please sign in to comment.