Skip to content

Commit 5ffa9ce

Browse files
committed
SCF-788: Added pull requests to test the workflow on the pr
1 parent 0df17b1 commit 5ffa9ce

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/build-and-push.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
name: Build and Push Docker Images to Harbor
22

33
on:
4+
pull_request:
5+
paths-ignore:
6+
- '**.md'
7+
- 'docs/**'
8+
branches:
9+
- 'scalefield_v*'
410
push:
511
paths-ignore:
612
- '**.md'
@@ -31,7 +37,7 @@ concurrency:
3137
jobs:
3238
e2e-tests:
3339
name: Run E2E Tests
34-
if: github.event_name == 'push' || (github.event_name == 'workflow_dispatch' && inputs.run_e2e_tests)
40+
if: github.event_name == 'push' || github.event_name == 'pull_request' || (github.event_name == 'workflow_dispatch' && inputs.run_e2e_tests)
3541
uses: ./.github/workflows/run_e2e.yaml
3642

3743
build-and-push:

0 commit comments

Comments
 (0)