Move concurency to shared

This commit is contained in:
dcvz 2024-06-01 23:19:11 +02:00
parent 6402b67751
commit 27d558370b
3 changed files with 4 additions and 7 deletions

View file

@ -4,6 +4,9 @@ on:
secrets:
ZRE_REPO_WITH_PAT:
required: true
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build-linux:
runs-on: ${{ matrix.arch == 'x64' && matrix.os || format('blaze/{0}', matrix.os) }}

View file

@ -2,12 +2,9 @@ name: validate-external
on:
pull_request_target:
types: [opened, synchronize]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
authorize:
# if: github.repository != github.event.pull_request.head.repo.full_name
if: github.repository != github.event.pull_request.head.repo.full_name
environment:
${{ github.event_name == 'pull_request_target' &&
github.event.pull_request.head.repo.full_name != github.repository &&

View file

@ -5,9 +5,6 @@ on:
- dev
pull_request:
types: [opened, synchronize]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
internal:
if: github.repository == github.event.pull_request.head.repo.full_name