From 49760fdbb603e1655b078c0146dcfe7808609fdb Mon Sep 17 00:00:00 2001 From: Alexander Aksenov Date: Wed, 17 Aug 2022 11:19:18 +0000 Subject: [PATCH] job concurency --- --- a/.github/workflows/build-test-master.yml +++ b/.github/workflows/build-test-master.yml @@ -27,6 +27,10 @@ runs-on: [self-hosted-ci,large] timeout-minutes: 1380 + concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + name: ${{ matrix.network }} continue-on-error: true #Do not stop testing of matrix runs failed. --- a/.github/workflows/codestyle.yml +++ b/.github/workflows/codestyle.yml @@ -13,6 +13,10 @@ jobs: rustfmt: runs-on: self-hosted-ci + + concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true steps: - name: Skip if pull request is in Draft @@ -47,6 +51,10 @@ clippy: if: ${{ false }} runs-on: self-hosted-ci + + concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true steps: - name: Skip if pull request is in Draft --- a/.github/workflows/fork-update-withdata.yml +++ b/.github/workflows/fork-update-withdata.yml @@ -27,6 +27,10 @@ runs-on: [self-hosted-ci,large] timeout-minutes: 1380 + concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + name: ${{ matrix.network }} continue-on-error: true #Do not stop testing of matrix runs failed. As it decided during PR review - it required 50/50& Let's check it with false. --- a/.github/workflows/forkless-update-nodata.yml +++ b/.github/workflows/forkless-update-nodata.yml @@ -29,6 +29,11 @@ runs-on: self-hosted-ci outputs: matrix: ${{ steps.create_matrix.outputs.matrix }} + + concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + steps: - name: Clean Workspace @@ -57,6 +62,11 @@ needs: prepare-execution-marix # The type of runner that the job will run on runs-on: [self-hosted-ci,medium] + + concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + timeout-minutes: 1380 name: ${{ matrix.network }} --- a/.github/workflows/node_build_test.yml +++ b/.github/workflows/node_build_test.yml @@ -26,6 +26,10 @@ runs-on: [self-hosted-ci,medium] timeout-minutes: 1380 + concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + name: ${{ matrix.network }} continue-on-error: true #Do not stop testing of matrix runs failed. As it decided during PR review - it required 50/50& Let's check it with false. --- a/.github/workflows/tests_codestyle.yml +++ b/.github/workflows/tests_codestyle.yml @@ -14,6 +14,10 @@ code_style: runs-on: self-hosted-ci + concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + steps: - name: Skip if pull request is in Draft # `if: github.event.pull_request.draft == true` should be kept here, at --- a/.github/workflows/try-runtime.yml +++ b/.github/workflows/try-runtime.yml @@ -25,6 +25,10 @@ # The type of runner that the job will run on runs-on: self-hosted-ci + concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + name: ${{ matrix.network }} - Try-runtime continue-on-error: true #Do not stop testing of matrix runs failed. As it decided during PR review - it required 50/50& Let's check it with false. -- gitstuff