Skip to content

Commit

Permalink
Merge pull request #2783 from tvdeyen/gh-actions-concurrency
Browse files Browse the repository at this point in the history
CI: Setup concurrency
  • Loading branch information
tvdeyen authored Mar 8, 2024
2 parents 2f87500 + ba0ffbf commit 7a7c607
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/brakeman-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@

name: Brakeman Scan

concurrency:
group: brakeman-${{ github.ref_name }}
cancel-in-progress: ${{ github.ref_name != 'main' }}

on:
push:
branches: [main]
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/build_test.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
name: Build & Test

concurrency:
group: test-${{ github.ref_name }}
cancel-in-progress: ${{ github.ref_name != 'main' }}

on:
push:
branches:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ name: Lint

on: [pull_request]

concurrency:
group: lint-${{ github.ref_name }}
cancel-in-progress: ${{ github.ref_name != 'main' }}

jobs:
Standard:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 7a7c607

Please sign in to comment.