1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-09-20 17:26:15 +02:00

GHA: Cancel the currently running jobs on force-pushing a pull-request

This commit is contained in:
Daniel Mach 2023-01-17 09:06:38 +01:00
parent 0c579a83b4
commit 822725effc
4 changed files with 16 additions and 0 deletions

View File

@ -10,6 +10,10 @@ on:
- 'README.md'
- 'doc/**'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
rpmbuild:
name: 'rpmbuild test'

View File

@ -8,6 +8,10 @@ on:
schedule:
- cron: "13 12 * * 6"
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
analyze:
name: Analyze

View File

@ -7,6 +7,10 @@ on:
- '.github/**'
- '**.py'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
mypy:
runs-on: ubuntu-latest

View File

@ -9,6 +9,10 @@ on:
- 'behave/**'
- 'tests/**'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
unit:
name: "unit"