Skip to content

Commit

Permalink
Add concurrency to workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
gastaldi committed Aug 16, 2023
1 parent 2103f69 commit 7c6d7ab
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ on:
# The branches below must be a subset of the branches above
branches: [ "master" ]

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

jobs:
analyze:
name: Analyze
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ on:
branches:
- master

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

jobs:
Build:
strategy:
Expand Down

0 comments on commit 7c6d7ab

Please sign in to comment.