Explorar o código

ci: use git ref for workflow concurrency detection

Ivan Dyachkov %!s(int64=2) %!d(string=hai) anos
pai
achega
ec75fa32cf

+ 1 - 1
.github/workflows/_push-entrypoint.yaml

@@ -1,7 +1,7 @@
 name: Push Entrypoint
 name: Push Entrypoint
 
 
 concurrency:
 concurrency:
-  group: push-entrypoint-${{ github.event_name }}-${{ github.sha }}
+  group: push-entrypoint-${{ github.event_name }}-${{ github.ref }}
   cancel-in-progress: true
   cancel-in-progress: true
 
 
 on:
 on:

+ 1 - 1
.github/workflows/build_and_push_docker_images.yaml

@@ -1,7 +1,7 @@
 name: Build and push docker images
 name: Build and push docker images
 
 
 concurrency:
 concurrency:
-  group: docker-build-${{ github.event_name }}-${{ github.sha }}
+  group: docker-build-${{ github.event_name }}-${{ github.ref }}
   cancel-in-progress: true
   cancel-in-progress: true
 
 
 on:
 on:

+ 1 - 1
.github/workflows/build_docker_for_test.yaml

@@ -1,7 +1,7 @@
 name: Build docker image for test
 name: Build docker image for test
 
 
 concurrency:
 concurrency:
-  group: docker-test-build-${{ github.event_name }}-${{ github.sha }}
+  group: docker-test-build-${{ github.event_name }}-${{ github.ref }}
   cancel-in-progress: true
   cancel-in-progress: true
 
 
 on:
 on:

+ 1 - 1
.github/workflows/build_packages.yaml

@@ -1,7 +1,7 @@
 name: Cross build packages
 name: Cross build packages
 
 
 concurrency:
 concurrency:
-  group: build-packages-${{ github.event_name }}-${{ github.sha }}
+  group: build-packages-${{ github.event_name }}-${{ github.ref }}
   cancel-in-progress: true
   cancel-in-progress: true
 
 
 on:
 on:

+ 1 - 1
.github/workflows/build_slim_packages.yaml

@@ -1,7 +1,7 @@
 name: Build slim packages
 name: Build slim packages
 
 
 concurrency:
 concurrency:
-  group: slim-${{ github.event_name }}-${{ github.sha }}
+  group: slim-${{ github.event_name }}-${{ github.ref }}
   cancel-in-progress: true
   cancel-in-progress: true
 
 
 on:
 on:

+ 1 - 1
.github/workflows/run_conf_tests.yaml

@@ -1,7 +1,7 @@
 name: Run Configuration tests
 name: Run Configuration tests
 
 
 concurrency:
 concurrency:
-  group: conftest-${{ github.event_name }}-${{ github.sha }}
+  group: conftest-${{ github.event_name }}-${{ github.ref }}
   cancel-in-progress: true
   cancel-in-progress: true
 
 
 on:
 on:

+ 1 - 1
.github/workflows/run_test_cases.yaml

@@ -1,7 +1,7 @@
 name: Run test case
 name: Run test case
 
 
 concurrency:
 concurrency:
-  group: test-${{ github.event_name }}-${{ github.sha }}
+  group: test-${{ github.event_name }}-${{ github.ref }}
   cancel-in-progress: true
   cancel-in-progress: true
 
 
 on:
 on:

+ 2 - 2
.github/workflows/spellcheck.yaml

@@ -1,7 +1,7 @@
-name: Build slim packages
+name: Spellcheck
 
 
 concurrency:
 concurrency:
-  group: spellcheck-${{ github.event_name }}-${{ github.sha }}
+  group: spellcheck-${{ github.event_name }}-${{ github.ref }}
   cancel-in-progress: true
   cancel-in-progress: true
 
 
 on:
 on:

+ 1 - 1
.github/workflows/static_checks.yaml

@@ -1,7 +1,7 @@
 name: Static checks
 name: Static checks
 
 
 concurrency:
 concurrency:
-  group: static-checks-${{ github.event_name }}-${{ github.sha }}
+  group: static-checks-${{ github.event_name }}-${{ github.ref }}
   cancel-in-progress: true
   cancel-in-progress: true
 
 
 on:
 on: