Browse Source

Required E2E to pass before PR can be merged (#7612)

kezhenxu94 3 years ago
parent
commit
120c1755a1
2 changed files with 9 additions and 0 deletions
  1. 1 0
      .asf.yaml
  2. 8 0
      .github/workflows/e2e.yml

+ 1 - 0
.asf.yaml

@@ -44,6 +44,7 @@ github:
         contexts:
           - Build
           - Unit Test
+          - E2E
       required_pull_request_reviews:
         dismiss_stale_reviews: true
         required_approving_review_count: 1

+ 8 - 0
.github/workflows/e2e.yml

@@ -80,3 +80,11 @@ jobs:
           name: recording-${{ matrix.case.name }}
           path: ${{ env.RECORDING_PATH }}
           retention-days: 1
+
+  result:
+    name: E2E
+    runs-on: ubuntu-latest
+    needs: [ e2e ]
+    steps:
+      - name: Status
+        run: echo "Passed!"