github.com/matrixorigin/matrixone@v1.2.0/.github/workflows/entrypoint.yaml (about) 1 name: MatrixOne ALL CI 2 3 on: 4 pull_request_target: 5 types: [ opened, synchronize, reopened ] 6 branches: [ main,'[0-9]+.[0-9]+*' ] 7 8 concurrency: 9 group: ${{ github.event.pull_request.head.repo.full_name}}/${{ github.event.pull_request.head.ref }}/${{ github.workflow }} 10 cancel-in-progress: true 11 12 jobs: 13 check-pr-valid: 14 runs-on: ubuntu-latest 15 name: CHECK PR VALID 16 outputs: 17 pr_valid: ${{ steps.check_pr_valid.outputs.pull_valid }} 18 steps: 19 - uses: matrixorigin/CI/actions/pulls-content-check@main 20 id: check_pr_valid 21 with: 22 github_token: ${{ secrets.TOKEN_ACTION }} 23 title_for_find_issue: "Which issue(s) this PR fixes:" 24 title_for_find_content: "What this PR does / why we need it:" 25 26 matrixone-ci: 27 name: Matrixone CI 28 needs: 29 - check-pr-valid 30 if: ${{ needs.check-pr-valid.outputs.pr_valid == 'true' }} 31 uses: matrixorigin/CI/.github/workflows/ci.yaml@release/1.2-dev 32 secrets: 33 S3ENDPOINT: ${{ secrets.S3ENDPOINT }} 34 S3REGION: ${{ secrets.S3REGION }} 35 S3APIKEY: ${{ secrets.S3APIKEY }} 36 S3APISECRET: ${{ secrets.S3APISECRET }} 37 S3BUCKET: ${{ secrets.S3BUCKET }} 38 39 matrixone-upgrade-ci: 40 name: Matrixone Upgrade CI 41 needs: 42 - check-pr-valid 43 if: ${{ needs.check-pr-valid.outputs.pr_valid == 'true' }} 44 uses: matrixorigin/CI/.github/workflows/e2e-upgrade.yaml@release/1.2-dev 45 46 matrixone-compose-ci: 47 name: Matrixone Compose CI 48 needs: 49 - check-pr-valid 50 if: ${{ needs.check-pr-valid.outputs.pr_valid == 'true' }} 51 uses: matrixorigin/CI/.github/workflows/e2e-compose.yaml@release/1.2-dev 52 53 matrixone-standalone-ci: 54 name: Matrixone Standlone CI 55 needs: 56 - check-pr-valid 57 if: ${{ needs.check-pr-valid.outputs.pr_valid == 'true' }} 58 uses: matrixorigin/CI/.github/workflows/e2e-standalone.yaml@release/1.2-dev 59 60 matrixone-utils-ci: 61 name: Matrixone Utils CI 62 needs: 63 - check-pr-valid 64 if: ${{ needs.check-pr-valid.outputs.pr_valid == 'true' }} 65 uses: matrixorigin/CI/.github/workflows/utils.yaml@release/1.2-dev 66 secrets: 67 TOKEN_ACTION: ${{ secrets.TOKEN_ACTION }} 68 S3ENDPOINT: ${{ secrets.S3ENDPOINT }} 69 S3REGION: ${{ secrets.S3REGION }} 70 S3APIKEY: ${{ secrets.S3APIKEY }} 71 S3APISECRET: ${{ secrets.S3APISECRET }} 72 S3BUCKET: ${{ secrets.S3BUCKET }} 73 DOCU_GROUP_HOOK: ${{ secrets.DOCU_GROUP_HOOK }} 74 OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}