Skip to content

Commit

Permalink
chore(ci): add concurrency directive for push events
Browse files Browse the repository at this point in the history
  • Loading branch information
vareversat committed Apr 21, 2024
1 parent ce00ef4 commit 3942a16
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/push.default.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ on:
- main
- dev

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

jobs:
flutter-test-analyze:
uses: ./.github/workflows/action.flutter.analyze-test.yaml
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/push.dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ on:
branches:
- dev

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

jobs:
flutter-test-analyze:
uses: ./.github/workflows/action.flutter.analyze-test.yaml
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/push.main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ on:
branches:
- main

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

jobs:
flutter-test-analyze:
uses: ./.github/workflows/action.flutter.analyze-test.yaml
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/push.tag.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ on:
tags:
- v*

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

jobs:
flutter-test-analyze:
uses: ./.github/workflows/action.flutter.analyze-test.yaml
Expand Down

0 comments on commit 3942a16

Please sign in to comment.