mirror of
https://github.com/hedge-dev/UnleashedRecomp.git
synced 2025-10-30 07:11:05 +00:00
Compare commits
2 commits
110f73be69
...
383adbabf8
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
383adbabf8 | ||
|
|
a1e581c8e8 |
3 changed files with 19 additions and 2 deletions
9
.github/workflows/validate-external.yml
vendored
9
.github/workflows/validate-external.yml
vendored
|
|
@ -1,7 +1,9 @@
|
||||||
name: validate-external
|
name: validate-external
|
||||||
on:
|
on:
|
||||||
pull_request_target:
|
pull_request_target:
|
||||||
types: [opened, synchronize]
|
branches:
|
||||||
|
- main
|
||||||
|
types: [edited, opened, synchronize]
|
||||||
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
|
||||||
|
|
@ -18,3 +20,8 @@ jobs:
|
||||||
secrets:
|
secrets:
|
||||||
ASSET_REPO: ${{ secrets.ASSET_REPO }}
|
ASSET_REPO: ${{ secrets.ASSET_REPO }}
|
||||||
ASSET_REPO_TOKEN: ${{ secrets.ASSET_REPO_TOKEN }}
|
ASSET_REPO_TOKEN: ${{ secrets.ASSET_REPO_TOKEN }}
|
||||||
|
steps:
|
||||||
|
- name: Checkout PR branch
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
ref: ${{ github.event.pull_request.head.ref }}
|
||||||
|
|
|
||||||
9
.github/workflows/validate-internal.yml
vendored
9
.github/workflows/validate-internal.yml
vendored
|
|
@ -4,9 +4,16 @@ on:
|
||||||
branches:
|
branches:
|
||||||
- main
|
- main
|
||||||
pull_request:
|
pull_request:
|
||||||
types: [opened, synchronize]
|
branches:
|
||||||
|
- main
|
||||||
|
types: [edited, opened, synchronize]
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
if: github.event_name == 'push' || github.repository == github.event.pull_request.head.repo.full_name
|
if: github.event_name == 'push' || github.repository == github.event.pull_request.head.repo.full_name
|
||||||
uses: ./.github/workflows/validate.yml
|
uses: ./.github/workflows/validate.yml
|
||||||
secrets: inherit
|
secrets: inherit
|
||||||
|
steps:
|
||||||
|
- name: Checkout PR branch
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
ref: ${{ github.event.pull_request.head.ref }}
|
||||||
|
|
|
||||||
3
.github/workflows/validate.yml
vendored
3
.github/workflows/validate.yml
vendored
|
|
@ -26,6 +26,7 @@ jobs:
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
submodules: recursive
|
submodules: recursive
|
||||||
|
ref: ${{ github.event.pull_request.head.ref }}
|
||||||
|
|
||||||
- name: Checkout Private Repository
|
- name: Checkout Private Repository
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
@ -92,6 +93,7 @@ jobs:
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
submodules: recursive
|
submodules: recursive
|
||||||
|
ref: ${{ github.event.pull_request.head.ref }}
|
||||||
|
|
||||||
- name: Checkout private repository
|
- name: Checkout private repository
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
@ -170,6 +172,7 @@ jobs:
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
submodules: recursive
|
submodules: recursive
|
||||||
|
ref: ${{ github.event.pull_request.head.ref }}
|
||||||
|
|
||||||
- name: Checkout Private Repository
|
- name: Checkout Private Repository
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue