Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Workflow #8

Merged
merged 2 commits into from
Jun 18, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .asf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ github:
- Build Third Party Libraries (macOS)
- COMPILE (DORIS_COMPILE)
- Need_2_Approval
- Latest-Master-Code-Check

required_pull_request_reviews:
dismiss_stale_reviews: true
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/auto_trigger_teamcity.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,12 @@ on:
types: [created, edited]
pull_request_review_comment:
types: [created, edited]
needs:
- latest-code-check
- be-ut-clang
- be-ut-mac
- build-extension
- build-thirdparty

env:
PULL_REQUEST_NUM: $(echo "${{ github.event.issue.pull_request.url }}" | awk -F/ '{print $NF}')
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/be-ut-clang.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ on:
pull_request:
schedule:
- cron: '0 4,10,16,22 * * *' # schedule it periodically to share the cache
needs:
- latest-code-check
- checkstyle


concurrency:
group: ${{ github.ref }} (BE UT Clang)
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/be-ut-mac.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ on:
pull_request:
schedule:
- cron: '0 4,10,16,22 * * *' # schedule it periodically to share the cache
needs:
- latest-code-check

concurrency:
group: ${{ github.ref }} (BE UT macOS)
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/build-extension.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ name: Build Extensions

on:
pull_request:
needs:
- latest-code-check

concurrency:
group: ${{ github.ref }} (Build Extensions)
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/build-thirdparty.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@
name: Build Third Party Libraries

on:
pull_request:
pull_request:
needs:
- latest-code-check

concurrency:
group: ${{ github.ref }} (Build Third Party Libraries)
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/checkstyle.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ name: FE Code Style Checker

on:
pull_request:
needs:
- latest-code-check

jobs:
java-checkstyle:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/clang-format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ name: BE Code Formatter

on: [push, pull_request]

needs:
- latest-code-check

jobs:
clang-format:
name: "Clang Formatter"
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/code-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ name: Code Checks

on: [push, pull_request_target]

needs:
- latest-code-check

jobs:
shellcheck:
name: ShellCheck
Expand Down