Skip to content

Commit e7ab669

Browse files
committed
e2e: skip workflow on 'skip e2e' label
1 parent fe7ab9c commit e7ab669

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/e2e.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,12 @@ on:
44
push:
55
branches: ["main"]
66
pull_request_target:
7-
types: ["opened", "synchronize", "reopened"]
7+
types: ["opened", "synchronize", "reopened", "labeled", "unlabeled"]
88
branches: ["main"]
99

1010
jobs:
1111
e2e:
12+
if: ${{ ! contains( github.event.pull_request.labels.*.name, 'skip e2e') }}
1213
runs-on: [capmox,e2e,dcd-playground]
1314
environment: e2e
1415
env:

0 commit comments

Comments
 (0)