Skip to content

Commit 981609d

Browse files
Merge pull request #888 from lorenzwalthert/test-concurrent
Test concurrency option for GitHub Actions
2 parents d593125 + 709a383 commit 981609d

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

.github/workflows/R-CMD-check.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ on:
1717
name: R-CMD-check
1818

1919
concurrency:
20-
group: ${{ github.action }}-${{ github.event_path }}
20+
group: ${{ github.workflow }}-${{ github.head_ref }}
2121
cancel-in-progress: true
2222

2323

.github/workflows/test-coverage.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99
name: test-coverage
1010

1111
concurrency:
12-
group: ${{ github.action }}-${{ github.event_path }}
12+
group: ${{ github.workflow }}-${{ github.head_ref }}
1313
cancel-in-progress: true
1414

1515

.github/workflows/touchstone-comment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: Continuous Benchmarks (Comment)
22

33
concurrency:
4-
group: ${{ github.action }}-${{ github.event_path }}
4+
group: ${{ github.workflow }}-${{ github.head_ref }}
55
cancel-in-progress: true
66

77
# read-write repo token

.github/workflows/touchstone-receive.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: Continuous Benchmarks (Receive)
22
concurrency:
3-
group: ${{ github.action }}-${{ github.event_path }}
3+
group: ${{ github.workflow }}-${{ github.head_ref }}
44
cancel-in-progress: true
55

66
on: pull_request

NEWS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
in `.Rbuildignore` (#879).
5252
* Enable pre-commit.ci (#843).
5353
* use pre-commit via GitHub Actions (#872).
54-
54+
* terminate running jobs on new push to save resources (#888).
5555

5656
# styler 1.6.2
5757

0 commit comments

Comments
 (0)