ci: Specify concurrency to help with consecutive pushes

Signed-off-by: Joas Schilling <coding@schilljs.com>
pull/41193/head
Joas Schilling 2 years ago
parent 0299955074
commit 6def538154
No known key found for this signature in database
GPG Key ID: 74434EFE0D2E2205
  1. 4
      .github/workflows/cypress.yml
  2. 4
      .github/workflows/ftp.yml
  3. 4
      .github/workflows/node-tests.yml
  4. 4
      .github/workflows/openapi.yml
  5. 4
      .github/workflows/performance.yml
  6. 4
      .github/workflows/s3-external.yml
  7. 4
      .github/workflows/s3-primary-integration.yml
  8. 4
      .github/workflows/s3-primary.yml
  9. 4
      .github/workflows/sftp.yml
  10. 4
      .github/workflows/smb-kerberos.yml
  11. 4
      .github/workflows/static-code-analysis.yml

@ -8,6 +8,10 @@ on:
- master
- stable*
concurrency:
group: cypress-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
env:
# Adjust APP_NAME if your repository name is different
APP_NAME: ${{ github.event.repository.name }}

@ -12,6 +12,10 @@ on:
- '.github/**'
- 'apps/files_external/**'
concurrency:
group: ftp-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
env:
APP_NAME: files_external

@ -7,6 +7,10 @@ on:
- master
- stable*
concurrency:
group: node-tests-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
changes:
runs-on: ubuntu-latest

@ -7,6 +7,10 @@ on:
- master
- stable*
concurrency:
group: openapi-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
openapi:
runs-on: ubuntu-latest

@ -2,6 +2,10 @@ name: Performance testing
on:
pull_request:
concurrency:
group: performance-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
performance-testing:
runs-on: ubuntu-latest

@ -10,6 +10,10 @@ on:
paths:
- 'apps/files_external/**'
concurrency:
group: s3-external-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
env:
APP_NAME: files_external

@ -16,6 +16,10 @@ on:
- master
- stable*
concurrency:
group: s3-external-integration-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
s3-primary-integration-tests-minio:
runs-on: ubuntu-20.04

@ -16,6 +16,10 @@ on:
- master
- stable*
concurrency:
group: s3-primary-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
s3-primary-tests-minio:
runs-on: ubuntu-20.04

@ -13,6 +13,10 @@ on:
env:
APP_NAME: files_external
concurrency:
group: sftp-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
sftp-tests:
runs-on: ubuntu-latest

@ -12,6 +12,10 @@ on:
- 'apps/files_external/**'
- '.github/workflows/smb-kerberos.yml'
concurrency:
group: smb-kerberos-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
smb-kerberos-tests:
runs-on: ubuntu-latest

@ -7,6 +7,10 @@ on:
- master
- stable*
concurrency:
group: static-code-analysis-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
static-code-analysis:
runs-on: ubuntu-latest

Loading…
Cancel
Save