ci: Auto-cancel redundant CI jobs (no-changelog) (#7656)

This should help us reduce the load on CI workers to some extend.
This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™
2023-11-10 15:26:42 +01:00
committed by GitHub
parent 000e76e3b4
commit 32ddb4d04b
3 changed files with 12 additions and 0 deletions

View File

@@ -5,6 +5,10 @@ on:
branches:
- master
concurrency:
group: master
cancel-in-progress: true
jobs:
install-and-build:
runs-on: ubuntu-latest

View File

@@ -8,6 +8,10 @@ on:
paths:
- packages/cli/src/databases/migrations/**
concurrency:
group: e2e-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
build:
name: Install & Build

View File

@@ -6,6 +6,10 @@ on:
branch:
- 'master'
concurrency:
group: e2e-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
run-e2e-tests:
name: E2E [Electron/Node 18]