diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml index 98681a8dd0c..acfbda4470f 100644 --- a/.github/workflows/android.yml +++ b/.github/workflows/android.yml @@ -7,6 +7,10 @@ on: schedule: - cron: '5 12 * * 0' +concurrency: + group: ${{ github.head_ref || github.run_id }} + cancel-in-progress: true + env: AWS_ACCESS_KEY_ID: ${{ secrets.S3_ACCESS_KEY }} AWS_SECRET_ACCESS_KEY: ${{ secrets.S3_SECRET_KEY }} diff --git a/.github/workflows/flutter-macos.yml b/.github/workflows/flutter-macos.yml index e8785b96b2f..2e29154a02f 100644 --- a/.github/workflows/flutter-macos.yml +++ b/.github/workflows/flutter-macos.yml @@ -7,6 +7,10 @@ on: schedule: - cron: '25 12 * * 0' +concurrency: + group: ${{ github.head_ref || github.run_id }} + cancel-in-progress: true + jobs: build: name: ${{ matrix.type }}-flutter-build diff --git a/.github/workflows/flutter-ubuntu.yml b/.github/workflows/flutter-ubuntu.yml index c2bc54c7562..193ec47cc72 100644 --- a/.github/workflows/flutter-ubuntu.yml +++ b/.github/workflows/flutter-ubuntu.yml @@ -7,6 +7,10 @@ on: schedule: - cron: '25 12 * * 0' +concurrency: + group: ${{ github.head_ref || github.run_id }} + cancel-in-progress: true + env: AWS_ACCESS_KEY_ID: ${{ secrets.S3_ACCESS_KEY }} AWS_SECRET_ACCESS_KEY: ${{ secrets.S3_SECRET_KEY }} diff --git a/.github/workflows/flutter-windows.yml b/.github/workflows/flutter-windows.yml index e96ae057c2e..9b79792efc0 100644 --- a/.github/workflows/flutter-windows.yml +++ b/.github/workflows/flutter-windows.yml @@ -7,6 +7,10 @@ on: schedule: - cron: '25 12 * * 0' +concurrency: + group: ${{ github.head_ref || github.run_id }} + cancel-in-progress: true + env: AWS_ACCESS_KEY_ID: ${{ secrets.S3_ACCESS_KEY }} AWS_SECRET_ACCESS_KEY: ${{ secrets.S3_SECRET_KEY }} diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index d5b46485d3e..476148413d5 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -7,6 +7,10 @@ on: schedule: - cron: '10 12 * * 0' +concurrency: + group: ${{ github.head_ref || github.run_id }} + cancel-in-progress: true + env: AWS_ACCESS_KEY_ID: ${{ secrets.S3_ACCESS_KEY }} AWS_SECRET_ACCESS_KEY: ${{ secrets.S3_SECRET_KEY }} diff --git a/.github/workflows/mingw.yml b/.github/workflows/mingw.yml index 86c59198dd3..57c14f2c996 100644 --- a/.github/workflows/mingw.yml +++ b/.github/workflows/mingw.yml @@ -7,6 +7,10 @@ on: schedule: - cron: '0 12 * * 0' +concurrency: + group: ${{ github.head_ref || github.run_id }} + cancel-in-progress: true + env: AWS_ACCESS_KEY_ID: ${{ secrets.S3_ACCESS_KEY }} AWS_SECRET_ACCESS_KEY: ${{ secrets.S3_SECRET_KEY }} diff --git a/.github/workflows/osx.yml b/.github/workflows/osx.yml index ced13479bf1..d13c0f39c50 100644 --- a/.github/workflows/osx.yml +++ b/.github/workflows/osx.yml @@ -7,6 +7,10 @@ on: schedule: - cron: '20 12 * * 0' +concurrency: + group: ${{ github.head_ref || github.run_id }} + cancel-in-progress: true + jobs: build: name: ${{matrix.type}}-build diff --git a/.github/workflows/source-code-check.yml b/.github/workflows/source-code-check.yml index dee2f09ae39..b492d6fbeb5 100644 --- a/.github/workflows/source-code-check.yml +++ b/.github/workflows/source-code-check.yml @@ -7,6 +7,10 @@ on: schedule: - cron: '25 12 * * 0' +concurrency: + group: ${{ github.head_ref || github.run_id }} + cancel-in-progress: true + jobs: build: name: ${{ matrix.type }} diff --git a/.github/workflows/wasm.yml b/.github/workflows/wasm.yml index b7c6477d168..aa8fd954283 100644 --- a/.github/workflows/wasm.yml +++ b/.github/workflows/wasm.yml @@ -7,6 +7,10 @@ on: schedule: - cron: '10 12 * * 0' +concurrency: + group: ${{ github.head_ref || github.run_id }} + cancel-in-progress: true + jobs: build: name: ${{ matrix.type }}-build diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index b0fc49c802f..a228bfbc1b7 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -7,6 +7,10 @@ on: schedule: - cron: '15 12 * * 0' +concurrency: + group: ${{ github.head_ref || github.run_id }} + cancel-in-progress: true + env: AWS_ACCESS_KEY_ID: ${{secrets.S3_ACCESS_KEY}} AWS_SECRET_ACCESS_KEY: ${{secrets.S3_SECRET_KEY}}