diff --git a/.asf.yaml b/.asf.yaml index 2b1be01a09..a82497c107 100644 --- a/.asf.yaml +++ b/.asf.yaml @@ -48,6 +48,8 @@ github: # if strict is true, means "Require branches to be up to date before merging". strict: false contexts: + - License Check + - Clang Formatter - CheckStyle - P0 Regression (Doris Regression) - P1 Regression (Doris Regression) diff --git a/.github/workflows/clang-format.yml b/.github/workflows/clang-format.yml index d676f171ca..64845d5922 100644 --- a/.github/workflows/clang-format.yml +++ b/.github/workflows/clang-format.yml @@ -19,7 +19,7 @@ --- name: BE Code Formatter -on: [push, pull_request] +on: [push, pull_request_target] jobs: clang-format: diff --git a/.github/workflows/license-eyes.yml b/.github/workflows/license-eyes.yml index c9b4cd2539..2e7b3c78ab 100644 --- a/.github/workflows/license-eyes.yml +++ b/.github/workflows/license-eyes.yml @@ -18,7 +18,7 @@ --- name: License Check on: - pull_request: + pull_request_target: push: branches: - master