Skip to content

Commit

Permalink
ci: Allow github actions to run concurrently
Browse files Browse the repository at this point in the history
  • Loading branch information
JiPaix committed Dec 4, 2022
1 parent c9a7700 commit c21b3c1
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 25 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,6 @@ on:
- 'package-lock.json'
- '.github/workflows/lint.yml'

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

defaults:
run:
shell: 'bash'
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/release-beta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,7 @@ on:
- '.github/**'
- '!.github/workflows/release.yml'
- '!.github/workflows/beta.yml'
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
cancel-in-progress: true

env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,7 @@ on:
- '.github/**'
- '!.github/workflows/release.yml'
- '!.github/workflows/beta.yml'
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
cancel-in-progress: true

env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}
Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,6 @@ on:
- 'package-lock.json'
- '.github/workflows/tests.yml'

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

jobs:
e2e:
strategy:
Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/typechecking.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,6 @@ on:
- 'package-lock.json'
- '.github/workflows/typechecking.yml'

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

defaults:
run:
shell: 'bash'
Expand Down
7 changes: 0 additions & 7 deletions .github/workflows/update-electron-vendors.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,10 @@ on:
paths:
- 'package-lock.json'


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


defaults:
run:
shell: 'bash'


jobs:
node-chrome:
runs-on: ubuntu-latest
Expand Down

0 comments on commit c21b3c1

Please sign in to comment.