Skip to content

Commit 4ce4285

Browse files
committed
Refactor integration workflow to remove pull request triggers and simplify mode logic
- Removed pull request triggers from the integration as the secrets arent availabe on personal forks - Simplified the mode logic for the job configuration, ensuring it defaults to 'repo' unless specified otherwise.
1 parent 42dd915 commit 4ce4285

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

.github/workflows/integration-odh.yaml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,6 @@
1414
name: OpenShift/KIND ODH Spark Pi E2E (Kustomize)
1515

1616
on:
17-
pull_request:
18-
paths:
19-
- 'examples/openshift/**'
20-
- 'config/**'
21-
- '.github/workflows/integration-odh.yaml'
2217
push:
2318
branches: [main]
2419
paths:
@@ -49,7 +44,7 @@ jobs:
4944
uses: ./.github/workflows/_run-kustomize-e2e.yaml
5045
secrets: inherit
5146
with:
52-
mode: ${{ github.event_name == 'pull_request' && 'local' || (github.event_name == 'workflow_dispatch' && inputs.mode || 'repo') }}
47+
mode: ${{ github.event_name == 'workflow_dispatch' && inputs.mode || 'repo' }}
5348
dockerfile: examples/openshift/Dockerfile.odh
5449
full_image: quay.io/opendatahub/spark-operator:local
5550
kind_cluster_name: spark-operator

0 commit comments

Comments
 (0)