This is an automated email from the ASF dual-hosted git repository.
zhaoqingran pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hertzbeat.git
The following commit(s) were added to refs/heads/master by this push:
new c4d151266 [improve] update asf config set required status checks
context (#1751)
c4d151266 is described below
commit c4d151266573be61434e129e345404f79a1a372c
Author: tomsun28 <[email protected]>
AuthorDate: Mon Apr 15 22:24:29 2024 +0800
[improve] update asf config set required status checks context (#1751)
---
.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]