Browse Source

add mergeable check (#16439)

dev
xiangzihao 3 months ago committed by GitHub
parent
commit
9760dec49f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 1
      .asf.yaml
  2. 17
      .github/workflows/e2e-k8s.yml

1
.asf.yaml

@ -46,6 +46,7 @@ github:
- E2E - E2E
- Docs - Docs
- Frontend Build - Frontend Build
- "E2E-K8S-Result"
- "Mergeable: milestone-label-check" - "Mergeable: milestone-label-check"
- "Title Validator" - "Title Validator"
required_pull_request_reviews: required_pull_request_reviews:

17
.github/workflows/e2e-k8s.yml

@ -147,3 +147,20 @@ jobs:
done done
done done
done done
result:
name: E2E-K8S-Result
runs-on: ubuntu-latest
timeout-minutes: 30
needs: [ e2e-k8s, paths-filter ]
if: always()
steps:
- name: Status
run: |
if [[ ${{ needs.paths-filter.outputs.not-ignore }} == 'false' && ${{ github.event_name }} == 'pull_request' ]]; then
echo "Skip E2E-K8S!"
exit 0
fi
if [[ ${{ needs.e2e-k8s.result }} != 'success' ]]; then
echo "E2E-K8S Failed!"
exit -1
fi

Loading…
Cancel
Save