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 f756571
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
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 f756571

Please sign in to comment.