This is an automated email from the ASF dual-hosted git repository.

gongchao pushed a commit to branch asf-config-update
in repository https://gitbox.apache.org/repos/asf/hertzbeat.git

commit 1493312ea5659fc9f6b32d9fb61eb8431668a8e0
Author: tomsun28 <[email protected]>
AuthorDate: Mon Apr 15 20:59:17 2024 +0800

    [improve] update asf config set required status checks context
    
    Signed-off-by: tomsun28 <[email protected]>
---
 .asf.yaml                             | 2 ++
 .github/workflows/license-checker.yml | 7 +++----
 2 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/.asf.yaml b/.asf.yaml
index 0b063ff73..de6e35d09 100644
--- a/.asf.yaml
+++ b/.asf.yaml
@@ -47,6 +47,8 @@ github:
     master:
       required_status_checks:
         strict: true
+        contexts:
+          - check-license-header
       required_pull_request_reviews:
         dismiss_stale_reviews: true
         required_approving_review_count: 1
diff --git a/.github/workflows/license-checker.yml 
b/.github/workflows/license-checker.yml
index 6af48f966..a1f31996e 100644
--- a/.github/workflows/license-checker.yml
+++ b/.github/workflows/license-checker.yml
@@ -27,9 +27,8 @@ on:
     branches: [ master, dev ]
 
 jobs:
-  license-header:
-    if: github.repository == 'apache/hertzbeat'
-    name: License header
+  check-license-header:
+    name: check-license-header
     runs-on: ubuntu-latest
     timeout-minutes: 10
     steps:
@@ -37,4 +36,4 @@ jobs:
         with:
           submodules: true
       - name: Check license header
-        uses: apache/skywalking-eyes/header@main
+        uses: apache/[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to