Skip to content

Commit

Permalink
Use concurrency github actions feature.
Browse files Browse the repository at this point in the history
  • Loading branch information
mshima committed Jun 3, 2021
1 parent cb8fb18 commit 7683fb5
Show file tree
Hide file tree
Showing 10 changed files with 26 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/angular.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@
#

name: Angular
concurrency:
group: angular-${{ github.head_ref || github.sha }}
cancel-in-progress: true
on:
push:
branches-ignore:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/generator.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@
#

name: Generator
concurrency:
group: generator-${{ github.head_ref || github.sha }}
cancel-in-progress: true
on:
push:
branches-ignore:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/gradle-wrapper-validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@
#

name: 'Validate Gradle Wrapper'
concurrency:
group: gradle-${{ github.head_ref || github.sha }}
cancel-in-progress: true
on:
push:
branches-ignore:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/incremental-changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@
#

name: Incremental Changelog
concurrency:
group: incremental-${{ github.head_ref || github.sha }}
cancel-in-progress: true
on:
push:
branches-ignore:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/jdl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@
#

name: JDL tests
concurrency:
group: jdl-${{ github.head_ref || github.sha }}
cancel-in-progress: true
on:
push:
branches-ignore:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/label-cleanup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

name: Cleanup Labels
on:
issues: { types: closed }
issues: { types: [closed] }
jobs:
remove-labels:
runs-on: ubuntu-latest
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/react.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@
#

name: React
concurrency:
group: react-${{ github.head_ref || github.sha }}
cancel-in-progress: true
on:
push:
branches-ignore:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/triage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

name: Triage issues
on:
issues: { types: opened }
issues: { types: [opened] }
jobs:
apply-label:
runs-on: ubuntu-latest
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/vue.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@
#

name: Vue
concurrency:
group: vue-${{ github.head_ref || github.sha }}
cancel-in-progress: true
on:
push:
branches-ignore:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/webflux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@
#

name: Webflux
concurrency:
group: webflux-${{ github.head_ref || github.sha }}
cancel-in-progress: true
on:
push:
branches-ignore:
Expand Down

0 comments on commit 7683fb5

Please sign in to comment.