Scheduling infrastructure for absolutely everyone.
Adds concurrency to workflows
zomars54f1eef3081d
diff --git a/.github/workflows/check-if-ui-has-changed.yml b/.github/workflows/check-if-ui-has-changed.ymlindex ce6a01ff906..9e702440e8b 100644--- a/.github/workflows/check-if-ui-has-changed.yml+++ b/.github/workflows/check-if-ui-has-changed.yml@@ -12,6 +12,9 @@ on:- apps/storybook/**- packages/ui/**workflow_dispatch:+concurrency:+ group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}+ cancel-in-progress: true# List of jobsjobs:diff --git a/.github/workflows/check-types.yml b/.github/workflows/check-types.ymlindex edcfb3a6717..ebb3260d944 100644--- a/.github/workflows/check-types.yml+++ b/.github/workflows/check-types.yml@@ -5,6 +5,9 @@ on:- mainpaths:- "**.tsx?"+concurrency:+ group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}+ cancel-in-progress: truejobs:check-types:runs-on: ubuntu-latestdiff --git a/.github/workflows/crowdin.yml b/.github/workflows/crowdin.ymlindex e6fbff03b77..c46629f4cb8 100644--- a/.github/workflows/crowdin.yml+++ b/.github/workflows/crowdin.yml@@ -4,22 +4,24 @@ on:push:branches:- main+concurrency:+ group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}+ cancel-in-progress: truejobs:synchronize-with-crowdin:runs-on: ubuntu-lateststeps:+ - name: Checkout+ uses: actions/checkout@v2- - name: Checkout- uses: actions/checkout@v2-- - name: crowdin action- uses: crowdin/[email protected]- with:- upload_translations: true- download_translations: true- env:- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}- CROWDIN_PROJECT_ID: ${{ secrets.CROWDIN_PROJECT_ID }}- CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}+ - name: crowdin action+ uses: crowdin/[email protected]+ with:+ upload_translations: true+ download_translations: true+ env:+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}+ CROWDIN_PROJECT_ID: ${{ secrets.CROWDIN_PROJECT_ID }}+ CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}diff --git a/.github/workflows/e2e-app-store.yml b/.github/workflows/e2e-app-store.ymlindex fd9e2bd1bac..ebb0edf01f0 100644--- a/.github/workflows/e2e-app-store.yml+++ b/.github/workflows/e2e-app-store.yml@@ -12,6 +12,9 @@ on:- apps/swagger/**- apps/website/**- apps/web/public/**+concurrency:+ group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}+ cancel-in-progress: truejobs:test:timeout-minutes: 20@@ -97,4 +100,3 @@ jobs:with:name: test-resultspath: test-results-diff --git a/.github/workflows/e2e-embed.yml b/.github/workflows/e2e-embed.ymlindex 83ed8ae5fd0..ff3202776d5 100644--- a/.github/workflows/e2e-embed.yml+++ b/.github/workflows/e2e-embed.yml@@ -7,6 +7,9 @@ on:paths:- apps/web/**- packages/embeds/**+concurrency:+ group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}+ cancel-in-progress: truejobs:e2e-embed:timeout-minutes: 20diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.ymlindex 61d03215340..306cba46f1d 100644--- a/.github/workflows/e2e.yml+++ b/.github/workflows/e2e.yml@@ -8,6 +8,9 @@ on:paths:- apps/web/**- packages/**+concurrency:+ group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}+ cancel-in-progress: truejobs:e2e:timeout-minutes: 20diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.ymlindex ff514935a76..5c9910a83fa 100644--- a/.github/workflows/labeler.yml+++ b/.github/workflows/labeler.yml@@ -1,7 +1,9 @@name: "Pull Request Labeler"on:- pull_request_target-+concurrency:+ group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}+ cancel-in-progress: truejobs:labeler:permissions:diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.ymlindex f868fd30b75..10ed6b68efa 100644--- a/.github/workflows/lint.yml+++ b/.github/workflows/lint.yml@@ -6,6 +6,9 @@ on:paths:- "**.tsx?"- "**.jsx?"+concurrency:+ group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}+ cancel-in-progress: truejobs:lint:runs-on: ubuntu-latestdiff --git a/.github/workflows/required-checks.yml b/.github/workflows/required-checks.ymlindex 69b853e513e..59988ef2ae9 100644--- a/.github/workflows/required-checks.yml+++ b/.github/workflows/required-checks.yml@@ -5,6 +5,9 @@ on:pull_request:branches:- main+concurrency:+ group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}+ cancel-in-progress: truejobs:required-checks:runs-on: ubuntu-latestdiff --git a/.github/workflows/test.yml b/.github/workflows/test.ymlindex 550ed58c5c1..f8e2f57d13c 100644--- a/.github/workflows/test.yml+++ b/.github/workflows/test.yml@@ -8,6 +8,9 @@ on:paths:- apps/web/**- packages/**+concurrency:+ group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}+ cancel-in-progress: truejobs:test:timeout-minutes: 20