difftreelog
Merge pull request #549 from UniqueNetwork/fix/workflow-concurency-rule
in: master
change name of concurency group
8 files changed
.github/workflows/codestyle.ymldiffbeforeafterboth--- a/.github/workflows/codestyle.yml
+++ b/.github/workflows/codestyle.yml
@@ -11,7 +11,7 @@
- ready_for_review
concurrency:
- group: ${{ github.workflow }}-${{ github.ref }}
+ group: ${{ github.workflow }}-${{ github.head_ref }}
cancel-in-progress: true
jobs:
.github/workflows/dev-build-tests.ymldiffbeforeafterboth--- a/.github/workflows/dev-build-tests.yml
+++ b/.github/workflows/dev-build-tests.yml
@@ -20,7 +20,7 @@
REPO_URL: ${{ github.server_url }}/${{ github.repository }}
concurrency:
- group: ${{ github.workflow }}-${{ github.ref }}
+ group: ${{ github.workflow }}-${{ github.head_ref }}
cancel-in-progress: true
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
.github/workflows/forkless-update-data.ymldiffbeforeafterboth--- a/.github/workflows/forkless-update-data.yml
+++ b/.github/workflows/forkless-update-data.yml
@@ -20,7 +20,7 @@
REPO_URL: ${{ github.server_url }}/${{ github.repository }}
concurrency:
- group: ${{ github.workflow }}-${{ github.ref }}
+ group: ${{ github.workflow }}-${{ github.head_ref }}
cancel-in-progress: true
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
.github/workflows/forkless-update-nodata.ymldiffbeforeafterboth--- a/.github/workflows/forkless-update-nodata.yml
+++ b/.github/workflows/forkless-update-nodata.yml
@@ -20,7 +20,7 @@
REPO_URL: ${{ github.server_url }}/${{ github.repository }}
concurrency:
- group: ${{ github.workflow }}-${{ github.ref }}
+ group: ${{ github.workflow }}-${{ github.head_ref }}
cancel-in-progress: true
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
.github/workflows/nodes-only-update.ymldiffbeforeafterboth--- a/.github/workflows/nodes-only-update.yml
+++ b/.github/workflows/nodes-only-update.yml
@@ -20,7 +20,7 @@
REPO_URL: ${{ github.server_url }}/${{ github.repository }}
concurrency:
- group: ${{ github.workflow }}-${{ github.ref }}
+ group: ${{ github.workflow }}-${{ github.head_ref }}
cancel-in-progress: true
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
.github/workflows/tests_codestyle.ymldiffbeforeafterboth1name: yarn eslint23on:4 pull_request:5 branches:6 - develop7 types:8 - opened9 - reopened10 - synchronize11 - ready_for_review1213concurrency: 14 group: ${{ github.workflow }}-${{ github.ref }}15 cancel-in-progress: true1617jobs:18 code_style:19 runs-on: self-hosted-ci2021 steps:22 - name: Skip if pull request is in Draft23 # `if: github.event.pull_request.draft == true` should be kept here, at24 # the step level, rather than at the job level. The latter is not25 # recommended because when the PR is moved from "Draft" to "Ready to26 # review" the workflow will immediately be passing (since it was skipped),27 # even though it hasn't actually ran, since it takes a few seconds for28 # the workflow to start. This is also disclosed in:29 # https://github.community/t/dont-run-actions-on-draft-pull-requests/16817/1730 # That scenario would open an opportunity for the check to be bypassed:31 # 1. Get your PR approved32 # 2. Move it to Draft33 # 3. Push whatever commits you want34 # 4. Move it to "Ready for review"; now the workflow is passing (it was35 # skipped) and "Check reviews" is also passing (it won't be updated36 # until the workflow is finished)37 if: github.event.pull_request.draft == true38 run: exit 13940 - uses: actions/checkout@v34142 - uses: actions/setup-node@v343 with:44 node-version: 164546 - name: Install modules47 run: cd tests && yarn48 - name: Run ESLint49 run: cd tests && yarn eslint --ext .ts,.js src/1name: yarn eslint23on:4 pull_request:5 branches:6 - develop7 types:8 - opened9 - reopened10 - synchronize11 - ready_for_review1213concurrency: 14 group: ${{ github.workflow }}-${{ github.head_ref }}15 cancel-in-progress: true1617jobs:18 code_style:19 runs-on: self-hosted-ci2021 steps:22 - name: Skip if pull request is in Draft23 # `if: github.event.pull_request.draft == true` should be kept here, at24 # the step level, rather than at the job level. The latter is not25 # recommended because when the PR is moved from "Draft" to "Ready to26 # review" the workflow will immediately be passing (since it was skipped),27 # even though it hasn't actually ran, since it takes a few seconds for28 # the workflow to start. This is also disclosed in:29 # https://github.community/t/dont-run-actions-on-draft-pull-requests/16817/1730 # That scenario would open an opportunity for the check to be bypassed:31 # 1. Get your PR approved32 # 2. Move it to Draft33 # 3. Push whatever commits you want34 # 4. Move it to "Ready for review"; now the workflow is passing (it was35 # skipped) and "Check reviews" is also passing (it won't be updated36 # until the workflow is finished)37 if: github.event.pull_request.draft == true38 run: exit 13940 - uses: actions/checkout@v34142 - uses: actions/setup-node@v343 with:44 node-version: 164546 - name: Install modules47 run: cd tests && yarn48 - name: Run ESLint49 run: cd tests && yarn eslint --ext .ts,.js src/.github/workflows/try-runtime.ymldiffbeforeafterboth--- a/.github/workflows/try-runtime.yml
+++ b/.github/workflows/try-runtime.yml
@@ -20,7 +20,7 @@
REPO_URL: ${{ github.server_url }}/${{ github.repository }}
concurrency:
- group: ${{ github.workflow }}-${{ github.ref }}
+ group: ${{ github.workflow }}-${{ github.head_ref }}
cancel-in-progress: true
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
.github/workflows/unit-test.ymldiffbeforeafterboth--- a/.github/workflows/unit-test.yml
+++ b/.github/workflows/unit-test.yml
@@ -17,7 +17,7 @@
workflow_dispatch:
concurrency:
- group: ${{ github.workflow }}-${{ github.ref }}
+ group: ${{ github.workflow }}-${{ github.head_ref }}
cancel-in-progress: true
# A workflow run is made up of one or more jobs that can run sequentially or in parallel