Skip to content

Commit 3920fc6

Browse files
committed
run e2e tests only with ci/e2e label
Signed-off-by: Philippe Martin <phmartin@redhat.com>
1 parent 27dfcd8 commit 3920fc6

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/e2e-tests.yaml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,16 @@
1717

1818
name: e2e-tests
1919

20-
on: [pull_request]
20+
on:
21+
merge_group:
22+
pull_request:
23+
types: [labeled, synchronize, opened, ready_for_review, reopened]
24+
25+
permissions:
26+
contents: read
2127

2228
jobs:
29+
if: ${{ contains(github.event.pull_request.labels.*.name, 'ci/e2e') }}
2330
# Dedicated step to build the extension image
2431
build-container:
2532
name: Build Extension Image

0 commit comments

Comments
 (0)