Enable PR VIB workflow on forks (#8817)

Signed-off-by: Martin Perez <martinpe@vmware.com>
This commit is contained in:
mpermar
2022-01-27 18:36:22 +01:00
committed by GitHub
parent 796ddfd193
commit fe0aa71369

View File

@@ -1,6 +1,6 @@
name: 'vib'
on: # rebuild any PRs and main branch changes
pull_request:
pull_request_target:
branches:
- master
- bitnami:master
@@ -20,6 +20,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
ref: ${{github.event.pull_request.head.ref}}
repository: ${{github.event.pull_request.head.repo.full_name}}
- uses: vmware-samples/vmware-image-builder-examples/vib-action@main
vib-k8s-verify: # verify in multiple target platforms
@@ -39,6 +42,9 @@ jobs:
name: K8s verify ${{ matrix.target-platform}}
steps:
- uses: actions/checkout@v2
with:
ref: ${{github.event.pull_request.head.ref}}
repository: ${{github.event.pull_request.head.repo.full_name}}
- uses: vmware-samples/vmware-image-builder-examples/vib-action@main
with:
pipeline: vib-platform-verify.json