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:
Wainer dos Santos Moschetta 2024-07-03 18:00:25 -03:00 committed by Lukáš Doktor
parent 62ffd83573
commit c176896b2d
No known key found for this signature in database
GPG Key ID: 26B362E47FCF22C1
2 changed files with 4 additions and 1 deletions

View File

@ -31,7 +31,6 @@ on:
skip_static:
value: ${{ jobs.skipper.outputs.skip_static }}
jobs:
skipper:
runs-on: ubuntu-latest

View File

@ -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