Skip to content

Commit 30dee6e

Browse files
authored
Disabling multiple runs of a PR based on commit (#189)
1 parent e565040 commit 30dee6e

File tree

3 files changed

+15
-1
lines changed

3 files changed

+15
-1
lines changed

.github/workflows/doctests.yml

+5-1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ on:
99
permissions:
1010
contents: read
1111

12+
concurrency:
13+
group: ${{ github.event.pull_request.number || github.ref }}
14+
cancel-in-progress: true
15+
1216
jobs:
1317
doctests:
1418
runs-on: ubuntu-latest
@@ -28,7 +32,7 @@ jobs:
2832
- name: .NET Core 7
2933
uses: actions/setup-dotnet@v2
3034
with:
31-
dotnet-version: '7.0.x'
35+
dotnet-version: '7.0.x'
3236
- name: run tests
3337
working-directory: tests/Doc
3438
run: |

.github/workflows/integration.yml

+4
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ on:
1111
schedule:
1212
- cron: "0 1 * * *"
1313

14+
concurrency:
15+
group: ${{ github.event.pull_request.number || github.ref }}
16+
cancel-in-progress: true
17+
1418
jobs:
1519
dotnet_6_cluster:
1620
name: .NET 6 on [redis-stack cluster]

.github/workflows/spellcheck.yml

+6
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
name: spellcheck
2+
23
on:
34
pull_request:
5+
6+
concurrency:
7+
group: ${{ github.event.pull_request.number || github.ref }}
8+
cancel-in-progress: true
9+
410
jobs:
511
check-spelling:
612
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)