test external too

This commit is contained in:
dcvz 2024-06-01 23:11:36 +02:00
parent 7fd70c3611
commit 8a7090f9a3
2 changed files with 3 additions and 3 deletions

View file

@ -7,7 +7,7 @@ concurrency:
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 &&
@ -15,7 +15,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- run: echo ✓
build:
external:
needs: authorize
uses: ./.github/workflows/validate.yml
secrets:

View file

@ -9,7 +9,7 @@ concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
internal:
if: github.repository == github.event.pull_request.head.repo.full_name
uses: ./.github/workflows/validate.yml
secrets: inherit