This is an automated email from the ASF dual-hosted git repository.
zhangliang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere-elasticjob.git
The following commit(s) were added to refs/heads/master by this push:
new 2dc490a71 Refactor : refactor the asf file to make required check
mandatory (#2289)
2dc490a71 is described below
commit 2dc490a71934132e32194073f5f1538b4415bba7
Author: 孙念君 Nianjun Sun <[email protected]>
AuthorDate: Sat Oct 14 20:27:57 2023 +0800
Refactor : refactor the asf file to make required check mandatory (#2289)
---
.asf.yaml | 7 +++++++
.github/workflows/maven.yml | 2 --
2 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/.asf.yaml b/.asf.yaml
index 55bc3fbd9..62adc25fe 100644
--- a/.asf.yaml
+++ b/.asf.yaml
@@ -35,3 +35,10 @@ github:
features:
issues: true
projects: true
+ protected_branches:
+ master:
+ required_status_checks:
+ contexts:
+ - Check - CheckStyle
+ - Check - Spotless
+ - Check - License
diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml
index 334e5ef59..37e27cf8a 100644
--- a/.github/workflows/maven.yml
+++ b/.github/workflows/maven.yml
@@ -21,8 +21,6 @@
name: Java CI with Maven
on:
- push:
- branches: [ master ]
pull_request:
branches: [ master ]