mirror of
https://github.com/Zelda64Recomp/Zelda64Recomp.git
synced 2026-05-10 19:11:36 +00:00
Move concurency to shared
This commit is contained in:
parent
6402b67751
commit
27d558370b
3 changed files with 4 additions and 7 deletions
3
.github/workflows/validate.yml
vendored
3
.github/workflows/validate.yml
vendored
|
|
@ -4,6 +4,9 @@ on:
|
||||||
secrets:
|
secrets:
|
||||||
ZRE_REPO_WITH_PAT:
|
ZRE_REPO_WITH_PAT:
|
||||||
required: true
|
required: true
|
||||||
|
concurrency:
|
||||||
|
group: ${{ github.workflow }}-${{ github.ref }}
|
||||||
|
cancel-in-progress: true
|
||||||
jobs:
|
jobs:
|
||||||
build-linux:
|
build-linux:
|
||||||
runs-on: ${{ matrix.arch == 'x64' && matrix.os || format('blaze/{0}', matrix.os) }}
|
runs-on: ${{ matrix.arch == 'x64' && matrix.os || format('blaze/{0}', matrix.os) }}
|
||||||
|
|
|
||||||
5
.github/workflows/validate_external.yml
vendored
5
.github/workflows/validate_external.yml
vendored
|
|
@ -2,12 +2,9 @@ name: validate-external
|
||||||
on:
|
on:
|
||||||
pull_request_target:
|
pull_request_target:
|
||||||
types: [opened, synchronize]
|
types: [opened, synchronize]
|
||||||
concurrency:
|
|
||||||
group: ${{ github.workflow }}-${{ github.ref }}
|
|
||||||
cancel-in-progress: true
|
|
||||||
jobs:
|
jobs:
|
||||||
authorize:
|
authorize:
|
||||||
# if: github.repository != github.event.pull_request.head.repo.full_name
|
if: github.repository != github.event.pull_request.head.repo.full_name
|
||||||
environment:
|
environment:
|
||||||
${{ github.event_name == 'pull_request_target' &&
|
${{ github.event_name == 'pull_request_target' &&
|
||||||
github.event.pull_request.head.repo.full_name != github.repository &&
|
github.event.pull_request.head.repo.full_name != github.repository &&
|
||||||
|
|
|
||||||
3
.github/workflows/validate_internal.yml
vendored
3
.github/workflows/validate_internal.yml
vendored
|
|
@ -5,9 +5,6 @@ on:
|
||||||
- dev
|
- dev
|
||||||
pull_request:
|
pull_request:
|
||||||
types: [opened, synchronize]
|
types: [opened, synchronize]
|
||||||
concurrency:
|
|
||||||
group: ${{ github.workflow }}-${{ github.ref }}
|
|
||||||
cancel-in-progress: true
|
|
||||||
jobs:
|
jobs:
|
||||||
internal:
|
internal:
|
||||||
if: github.repository == github.event.pull_request.head.repo.full_name
|
if: github.repository == github.event.pull_request.head.repo.full_name
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue