Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 5 additions & 18 deletions .github/workflows/integration-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ name: Integration Tests

on:
push:
branches:
branches:
- main
pull_request_target:
branches:
branches:
- main
workflow_dispatch:

Expand All @@ -16,26 +16,13 @@ permissions:

jobs:
test:
if: github.event_name == 'push'
name: Run tests
name: Run
uses: open-component-model/ocm-integrationtest/.github/workflows/integrationtest.yaml@main
permissions:
contents: write
id-token: write
packages: write
secrets: inherit
with:
ref: ${{ github.ref }}
repo: ${{ github.repository }}
test-pr:
if: github.event_name == 'pull_request_target'
name: Run tests
uses: open-component-model/ocm-integrationtest/.github/workflows/integrationtest.yaml@main
permissions:
contents: write
id-token: write
packages: write
secrets: inherit
with:
ref: ${{ github.event.pull_request.head.ref }}
repo: ${{ github.event.pull_request.head.repo.full_name }}
ref: ${{ github.event_name == 'pull_request_target' && github.event.pull_request.head.ref || github.ref }}
repo: ${{ github.event_name == 'pull_request_target' && github.event.pull_request.head.repo.full_name || github.repository }}
Loading