Skip to content

Commit

Permalink
added concurrency for github workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
MaikuB committed Nov 18, 2023
1 parent 90973ac commit 7f452af
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ name: format

on: push

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

jobs:
java_format:
runs-on: ubuntu-latest
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ on:
branches:
- master

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

jobs:
analyze:
name: Run Dart Analyzer
Expand Down

0 comments on commit 7f452af

Please sign in to comment.