[github](ci) change required checks of branch 1.1 (#14743)

* [github](branch-1.1) change required checks of branch 1.1

* modify
This commit is contained in:
Mingyu Chen
2022-12-02 09:11:49 +08:00
committed by GitHub
parent e5000c708e
commit f484bc5380
2 changed files with 23 additions and 1 deletions

View File

@ -75,7 +75,7 @@ github:
- License Check
- FE UT (Doris FE UT)
- BE UT (Doris BE UT)
- Build Extensions
- Build Broker
required_pull_request_reviews:
dismiss_stale_reviews: true

View File

@ -20,8 +20,30 @@ name: FE Code Style Checker
on:
pull_request:
jobs:
changes:
name: Detect Changes
runs-on: ubuntu-latest
outputs:
broker_changes: ${{ steps.filter.outputs.broker_changes }}
docs_changes: ${{ steps.filter.outputs.docs_changes }}
steps:
- name: Checkout ${{ github.ref }}
uses: actions/checkout@v3
with:
persist-credentials: false
submodules: recursive
- name: Paths filter
uses: ./.github/actions/paths-filter
id: filter
with:
filters: |
fe_changes:
- 'fe/**'
java-checkstyle:
name: "CheckStyle"
needs: changes
if: ${{ needs.changes.outputs.fe_changes == 'true' }}
runs-on: ubuntu-latest
steps:
- name: "Checkout ${{ github.ref }} ( ${{ github.sha }} )"