Enhance the mergeability: add status checker about the protected branch (#4871)

This commit is contained in:
Aaron Ai
2022-08-23 22:55:25 +08:00
committed by GitHub
parent 0eca69bf25
commit cf3c1ef57f
3 changed files with 7 additions and 3 deletions
+6 -1
View File
@@ -32,4 +32,9 @@ github:
rebase: true
protected_branches:
master: {}
develop: {}
develop:
required_status_checks:
contexts:
- misspell-check
- check-license
- maven-compile (ubuntu-18.04, JDK-8)
+1 -1
View File
@@ -6,7 +6,7 @@ on:
branches: [master, develop]
jobs:
java_build:
name: "compile (${{ matrix.os }}, JDK-${{ matrix.jdk }})"
name: "maven-compile (${{ matrix.os }}, JDK-${{ matrix.jdk }})"
runs-on: ${{ matrix.os }}
strategy:
matrix:
-1
View File
@@ -25,7 +25,6 @@ on:
jobs:
check-license:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Check License Header