Skip to content

Commit

Permalink
e2e: skip workflow on 'skip e2e' label
Browse files Browse the repository at this point in the history
  • Loading branch information
wikkyk committed May 3, 2024
1 parent fe7ab9c commit e7ab669
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,12 @@ on:
push:
branches: ["main"]
pull_request_target:
types: ["opened", "synchronize", "reopened"]
types: ["opened", "synchronize", "reopened", "labeled", "unlabeled"]
branches: ["main"]

jobs:
e2e:
if: ${{ ! contains( github.event.pull_request.labels.*.name, 'skip e2e') }}
runs-on: [capmox,e2e,dcd-playground]
environment: e2e
env:
Expand Down

0 comments on commit e7ab669

Please sign in to comment.