Skip to content

Commit

Permalink
ci(SW-27133) - Move concurrency to job scope
Browse files Browse the repository at this point in the history
  • Loading branch information
DennisGarding committed Jul 4, 2023
1 parent e3ead00 commit a646c64
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/javascript-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ on:
required: false
type: string

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

jobs:
javascript-code-analysis:
concurrency:
group: ${{ github.head_ref || github.ref }}-${{ github.workflow }}
cancel-in-progress: true

name: Code analysis for ${{ inputs.plugin-name }}
runs-on: ubuntu-latest
env:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/php-code-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ on:
required: false
type: string

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

jobs:
php-code-analysis:
concurrency:
group: ${{ github.head_ref || github.ref }}-${{ github.workflow }}
cancel-in-progress: true

name: Code analysis for ${{ inputs.plugin-name }}
runs-on: ubuntu-latest
env:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/php-unit-tests-shopware.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,12 @@ on:
required: false
type: string

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

jobs:
php-unit-tests-shopware:
concurrency:
group: ${{ github.head_ref || github.ref }}-${{ github.workflow }}
cancel-in-progress: true

name: Shopware ${{ inputs.shopware-version }} PHP Version ${{ inputs.php-version }}
runs-on: ubuntu-latest
env:
Expand Down

0 comments on commit a646c64

Please sign in to comment.