mirror of
https://github.com/openSUSE/osc.git
synced 2024-11-10 14:56:14 +01:00
GHA: Cancel the currently running jobs on force-pushing a pull-request
This commit is contained in:
parent
0c579a83b4
commit
822725effc
4
.github/workflows/build-install.yaml
vendored
4
.github/workflows/build-install.yaml
vendored
@ -10,6 +10,10 @@ on:
|
||||
- 'README.md'
|
||||
- 'doc/**'
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
rpmbuild:
|
||||
name: 'rpmbuild test'
|
||||
|
4
.github/workflows/codeql.yml
vendored
4
.github/workflows/codeql.yml
vendored
@ -8,6 +8,10 @@ on:
|
||||
schedule:
|
||||
- cron: "13 12 * * 6"
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
analyze:
|
||||
name: Analyze
|
||||
|
4
.github/workflows/linters.yaml
vendored
4
.github/workflows/linters.yaml
vendored
@ -7,6 +7,10 @@ on:
|
||||
- '.github/**'
|
||||
- '**.py'
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
mypy:
|
||||
runs-on: ubuntu-latest
|
||||
|
4
.github/workflows/tests.yaml
vendored
4
.github/workflows/tests.yaml
vendored
@ -9,6 +9,10 @@ on:
|
||||
- 'behave/**'
|
||||
- 'tests/**'
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
unit:
|
||||
name: "unit"
|
||||
|
Loading…
Reference in New Issue
Block a user