Skip to content

Commit eb7480b

Browse files
authored
Change concurrency group for health metrics test to "github.sha" (#4428)
The problem with "github.ref" was that when two consecutive commits are pushed to a feature branch (e.g. `master`) around the same time, the execution of health metrics test for the second commit will cancel the execution for the first one, and thus make the metrics measurement for the first commit unavailable.
1 parent 3432f93 commit eb7480b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/health-metrics.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: Health Metrics
22

33
concurrency:
4-
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
4+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
55
cancel-in-progress: true
66

77
on:

0 commit comments

Comments
 (0)