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

View file

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