Compare commits

...

2 commits

Author SHA1 Message Date
Al. Lopez
110f73be69
Merge a1e581c8e8 into 9ace79a4d2 2025-08-03 14:58:31 -04:00
AL2009man
a1e581c8e8 attempt to fix CI GitHub Action PRs 2025-04-30 21:39:37 -04:00
3 changed files with 19 additions and 2 deletions

View file

@ -1,7 +1,9 @@
name: validate-external
on:
pull_request_target:
types: [opened, synchronize]
branches:
- main
types: [edited, opened, synchronize]
jobs:
authorize:
if: github.repository != github.event.pull_request.head.repo.full_name
@ -18,3 +20,8 @@ jobs:
secrets:
ASSET_REPO: ${{ secrets.ASSET_REPO }}
ASSET_REPO_TOKEN: ${{ secrets.ASSET_REPO_TOKEN }}
steps:
- name: Checkout PR branch
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.ref }}

View file

@ -4,9 +4,16 @@ on:
branches:
- main
pull_request:
types: [opened, synchronize]
branches:
- main
types: [edited, opened, synchronize]
jobs:
build:
if: github.event_name == 'push' || github.repository == github.event.pull_request.head.repo.full_name
uses: ./.github/workflows/validate.yml
secrets: inherit
steps:
- name: Checkout PR branch
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.ref }}

View file

@ -26,6 +26,7 @@ jobs:
uses: actions/checkout@v4
with:
submodules: recursive
ref: ${{ github.event.pull_request.head.ref }}
- name: Checkout Private Repository
uses: actions/checkout@v4
@ -92,6 +93,7 @@ jobs:
uses: actions/checkout@v4
with:
submodules: recursive
ref: ${{ github.event.pull_request.head.ref }}
- name: Checkout private repository
uses: actions/checkout@v4
@ -170,6 +172,7 @@ jobs:
uses: actions/checkout@v4
with:
submodules: recursive
ref: ${{ github.event.pull_request.head.ref }}
- name: Checkout Private Repository
uses: actions/checkout@v4