Kill previous CI jobs when new pushed

This commit is contained in:
Jonathan Kelley committed 2023-07-19 12:50:28 -07:00
1 parent 8df0d59767
commit d82b2f226f
7 files changed
+28 -1

No files matched your search

+4
View File
@@ -3,6 +3,10 @@ name: docs stable
on: on:
workflow_dispatch: workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs: jobs:
build-deploy: build-deploy:
runs-on: ubuntu-latest runs-on: ubuntu-latest
+4
View File
@@ -8,6 +8,10 @@ on:
branches: branches:
- master - master
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs: jobs:
build-deploy: build-deploy:
runs-on: ubuntu-latest runs-on: ubuntu-latest
+4
View File
@@ -24,6 +24,10 @@ on:
- lib.rs - lib.rs
- Cargo.toml - Cargo.toml
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs: jobs:
test: test:
if: github.event.pull_request.draft == false if: github.event.pull_request.draft == false
+4
View File
@@ -27,6 +27,10 @@ on:
- lib.rs - lib.rs
- Cargo.toml - Cargo.toml
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs: jobs:
check: check:
if: github.event.pull_request.draft == false if: github.event.pull_request.draft == false
+3 -1
View File
@@ -38,7 +38,9 @@ env:
# - tokio-stream/Cargo.toml # - tokio-stream/Cargo.toml
# rust_min: 1.49.0 # rust_min: 1.49.0
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs: jobs:
test: test:
+5
View File
@@ -7,6 +7,11 @@ on:
defaults: defaults:
run: run:
working-directory: ./playwright-tests working-directory: ./playwright-tests
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs: jobs:
test: test:
if: github.event.pull_request.draft == false if: github.event.pull_request.draft == false
+4
View File
@@ -24,6 +24,10 @@ on:
- lib.rs - lib.rs
- Cargo.toml - Cargo.toml
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs: jobs:
test: test:
if: github.event.pull_request.draft == false if: github.event.pull_request.draft == false