Skip to content

Commit

Permalink
always trigger e2e in PR
Browse files Browse the repository at this point in the history
Signed-off-by: Shi, Crane <crane.shi@emc.com>
  • Loading branch information
CraneShiEMC committed May 13, 2023
1 parent c74f5ac commit b5e202a
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
push:
branches: [ master ]
pull_request_review:
types: [submitted]
branches: [ master ]

env:
REGISTRY: 'ghcr.io/dell/csi-baremetal'
Expand All @@ -16,8 +16,6 @@ env:
kind_wait: '30s'
jobs:
e2e:
# we need to start validation on master push or on /ci comment in PR only
if: github.event_name == 'push' || github.event.review.state == 'approved'
runs-on: ubuntu-20.04
steps:
- name: Get operator branch
Expand Down Expand Up @@ -254,8 +252,6 @@ jobs:
result_job:
needs: e2e
# answer must be posted on PR with /ci comment only
if: always() && github.event_name == 'issue_comment' && startsWith(github.event.comment.body, '/ci')
runs-on: ubuntu-20.04
steps:
- name: Create answer body
Expand Down

0 comments on commit b5e202a

Please sign in to comment.