git.delta.rocks / unique-network / refs/commits / 49760fdbb603

difftreelog

job concurency

Alexander Aksenov2022-08-17parent: #383bd14.patch.diff
in: master

7 files changed

modified.github/workflows/build-test-master.ymldiffbeforeafterboth
--- 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.
modified.github/workflows/codestyle.ymldiffbeforeafterboth
--- 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
modified.github/workflows/fork-update-withdata.ymldiffbeforeafterboth
--- 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.
modified.github/workflows/forkless-update-nodata.ymldiffbeforeafterboth
--- 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 }}
modified.github/workflows/node_build_test.ymldiffbeforeafterboth
--- 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.
modified.github/workflows/tests_codestyle.ymldiffbeforeafterboth
before · .github/workflows/tests_codestyle.yml
1name: Tests code style23on:4  pull_request:5    branches:6      - develop7    types:8      - opened9      - reopened10      - synchronize11      - ready_for_review1213jobs:14  code_style:15    runs-on: self-hosted-ci1617    steps:18      - name: Skip if pull request is in Draft19        # `if: github.event.pull_request.draft == true` should be kept here, at20        # the step level, rather than at the job level. The latter is not21        # recommended because when the PR is moved from "Draft" to "Ready to22        # review" the workflow will immediately be passing (since it was skipped),23        # even though it hasn't actually ran, since it takes a few seconds for24        # the workflow to start. This is also disclosed in:25        # https://github.community/t/dont-run-actions-on-draft-pull-requests/16817/1726        # That scenario would open an opportunity for the check to be bypassed:27        # 1. Get your PR approved28        # 2. Move it to Draft29        # 3. Push whatever commits you want30        # 4. Move it to "Ready for review"; now the workflow is passing (it was31        #    skipped) and "Check reviews" is also passing (it won't be updated32        #    until the workflow is finished)33        if: github.event.pull_request.draft == true34        run: exit 13536      - uses: actions/checkout@v33738      - uses: actions/setup-node@v339        with:40          node-version: 164142      - name: Install modules43        run: cd tests && yarn44      - name: Run ESLint45        run: cd tests && yarn eslint --ext .ts,.js src/
modified.github/workflows/try-runtime.ymldiffbeforeafterboth
--- 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.