Skip to content

Commit

Permalink
Add concurrency to workflows.
Browse files Browse the repository at this point in the history
  • Loading branch information
terabytesoftw committed Jan 4, 2024
1 parent 3cb78c8 commit 78ff492
Show file tree
Hide file tree
Showing 9 changed files with 36 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/composer-require-checker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ on:

name: Composer require checker

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

jobs:
composer-require-checker:
uses: yiisoft/actions/.github/workflows/composer-require-checker.yml@master
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/db-mssql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ on:

name: db-mssql

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

jobs:
build:
name: PHP ${{ matrix.php }}
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/db-mysql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ on:

name: db-mysql

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

jobs:
build:
name: PHP ${{ matrix.php }}
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/db-oracle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ on:

name: db-oracle

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

jobs:
build:
name: PHP ${{ matrix.php }}
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/db-pgsql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ on:

name: db-pgsql

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

jobs:
build:
name: PHP ${{ matrix.php }}
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/db-sqlite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ on:

name: db-sqlite

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

jobs:
build:
name: PHP ${{ matrix.php }}-sqlite-${{ matrix.os }}
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/mutation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ on:

name: mutation

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

jobs:
mutation:
name: PHP ${{ matrix.php }}-${{ matrix.os }}
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/rector.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ on:

name: rector

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

jobs:
rector:
uses: yiisoft/actions/.github/workflows/rector.yml@master
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/static.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ on:

name: static analysis

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

jobs:
mutation:
name: PHP ${{ matrix.php }}-${{ matrix.os }}
Expand Down

0 comments on commit 78ff492

Please sign in to comment.