mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-08-30 23:37:45 +00:00
workflows/gatekeeper: configure concurrency properly
This will allow to cancel-in-progress the gatekeeper jobs. Signed-off-by: Wainer dos Santos Moschetta <wainersm@redhat.com>
This commit is contained in:
committed by
Lukáš Doktor
parent
62ffd83573
commit
c176896b2d
1
.github/workflows/gatekeeper-skipper.yaml
vendored
1
.github/workflows/gatekeeper-skipper.yaml
vendored
@@ -31,7 +31,6 @@ on:
|
|||||||
skip_static:
|
skip_static:
|
||||||
value: ${{ jobs.skipper.outputs.skip_static }}
|
value: ${{ jobs.skipper.outputs.skip_static }}
|
||||||
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
skipper:
|
skipper:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
4
.github/workflows/gatekeeper.yaml
vendored
4
.github/workflows/gatekeeper.yaml
vendored
@@ -12,6 +12,10 @@ on:
|
|||||||
- reopened
|
- reopened
|
||||||
- labeled
|
- labeled
|
||||||
|
|
||||||
|
concurrency:
|
||||||
|
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
||||||
|
cancel-in-progress: true
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
gatekeeper:
|
gatekeeper:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
Reference in New Issue
Block a user