Skip to content

Commit

Permalink
Disabling multiple runs of a PR based on commit (#189)
Browse files Browse the repository at this point in the history
  • Loading branch information
chayim authored Sep 27, 2023
1 parent e565040 commit 30dee6e
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/doctests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ on:
permissions:
contents: read

concurrency:
group: ${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

jobs:
doctests:
runs-on: ubuntu-latest
Expand All @@ -28,7 +32,7 @@ jobs:
- name: .NET Core 7
uses: actions/setup-dotnet@v2
with:
dotnet-version: '7.0.x'
dotnet-version: '7.0.x'
- name: run tests
working-directory: tests/Doc
run: |
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ on:
schedule:
- cron: "0 1 * * *"

concurrency:
group: ${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

jobs:
dotnet_6_cluster:
name: .NET 6 on [redis-stack cluster]
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/spellcheck.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
name: spellcheck

on:
pull_request:

concurrency:
group: ${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

jobs:
check-spelling:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 30dee6e

Please sign in to comment.