mirror of
https://github.com/Mr-Wiseguy/Zelda64Recomp.git
synced 2024-11-28 07:34:19 +01:00
20 lines
565 B
YAML
20 lines
565 B
YAML
name: validate-external
|
|
on:
|
|
pull_request_target:
|
|
types: [opened, synchronize]
|
|
jobs:
|
|
authorize:
|
|
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 &&
|
|
'external' || 'internal' }}
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- run: echo ✓
|
|
build:
|
|
needs: authorize
|
|
uses: ./.github/workflows/validate.yml
|
|
secrets:
|
|
ZRE_REPO_WITH_PAT: ${{ secrets.ZRE_REPO_WITH_PAT }}
|