mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-08-30 14:25:43 +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:
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:
|
||||
value: ${{ jobs.skipper.outputs.skip_static }}
|
||||
|
||||
|
||||
jobs:
|
||||
skipper:
|
||||
runs-on: ubuntu-latest
|
||||
|
4
.github/workflows/gatekeeper.yaml
vendored
4
.github/workflows/gatekeeper.yaml
vendored
@ -12,6 +12,10 @@ on:
|
||||
- reopened
|
||||
- labeled
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
gatekeeper:
|
||||
runs-on: ubuntu-latest
|
||||
|
Loading…
Reference in New Issue
Block a user