--- a/.github/workflows/build-test-master.yml +++ b/.github/workflows/build-test-master.yml @@ -19,6 +19,10 @@ env: REPO_URL: ${{ github.server_url }}/${{ github.repository }} +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + # A workflow run is made up of one or more jobs that can run sequentially or in parallel jobs: @@ -26,10 +30,6 @@ # The type of runner that the job will run on runs-on: [self-hosted-ci,large] timeout-minutes: 1380 - - concurrency: - group: ${{ github.workflow }}-${{ github.ref }} - cancel-in-progress: true name: ${{ matrix.network }} --- a/.github/workflows/codestyle.yml +++ b/.github/workflows/codestyle.yml @@ -10,13 +10,13 @@ - synchronize - ready_for_review +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + 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 @@ -51,11 +51,7 @@ 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 # `if: github.event.pull_request.draft == true` should be kept here, at --- a/.github/workflows/fork-update-withdata.yml +++ b/.github/workflows/fork-update-withdata.yml @@ -19,6 +19,10 @@ env: REPO_URL: ${{ github.server_url }}/${{ github.repository }} +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + # A workflow run is made up of one or more jobs that can run sequentially or in parallel jobs: @@ -26,10 +30,6 @@ # The type of runner that the job will run on runs-on: [self-hosted-ci,large] timeout-minutes: 1380 - - concurrency: - group: ${{ github.workflow }}-${{ github.ref }} - cancel-in-progress: true name: ${{ matrix.network }} --- a/.github/workflows/forkless-update-nodata.yml +++ b/.github/workflows/forkless-update-nodata.yml @@ -19,6 +19,10 @@ env: REPO_URL: ${{ github.server_url }}/${{ github.repository }} +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + # A workflow run is made up of one or more jobs that can run sequentially or in parallel jobs: @@ -29,10 +33,6 @@ runs-on: self-hosted-ci outputs: matrix: ${{ steps.create_matrix.outputs.matrix }} - - concurrency: - group: ${{ github.workflow }}-${{ github.ref }} - cancel-in-progress: true steps: @@ -63,9 +63,7 @@ # 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 --- a/.github/workflows/node_build_test.yml +++ b/.github/workflows/node_build_test.yml @@ -19,16 +19,16 @@ env: REPO_URL: ${{ github.server_url }}/${{ github.repository }} +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + # A workflow run is made up of one or more jobs that can run sequentially or in parallel jobs: dev_build_test: # The type of runner that the job will run on runs-on: [self-hosted-ci,medium] timeout-minutes: 1380 - - concurrency: - group: ${{ github.workflow }}-${{ github.ref }} - cancel-in-progress: true name: ${{ matrix.network }} --- a/.github/workflows/tests_codestyle.yml +++ b/.github/workflows/tests_codestyle.yml @@ -10,13 +10,13 @@ - synchronize - ready_for_review +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + jobs: 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 --- a/.github/workflows/try-runtime.yml +++ b/.github/workflows/try-runtime.yml @@ -19,17 +19,17 @@ env: REPO_URL: ${{ github.server_url }}/${{ github.repository }} +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + # A workflow run is made up of one or more jobs that can run sequentially or in parallel jobs: try-runtime: # 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 + + 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.