chore(ci): link and update build artifacts for PRs (#453)

This commit is contained in:
David Chavez
2024-08-01 13:02:35 +02:00
committed by GitHub
parent 3346400775
commit 6598da434e
3 changed files with 57 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
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 }}