From fbbaf929ee5c5f4aed74885fe0e1d10ad68288ac Mon Sep 17 00:00:00 2001 From: Dongyang Li Date: Mon, 9 Oct 2023 15:57:30 +0800 Subject: [PATCH] [chore](workflow) 2/2, auto trigger "License Check" and "BE Code Formatter" instead of after approval (#25101) Co-authored-by: stephen --- .asf.yaml | 2 ++ .github/workflows/clang-format.yml | 2 +- .github/workflows/license-eyes.yml | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) 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