Skip to content

Commit ea0f5f8

Browse files
committed
ci: add pr title lint
Signed-off-by: Young Xu <xuthus5@gmail.com>
1 parent 1a5905a commit ea0f5f8

File tree

2 files changed

+30
-1
lines changed

2 files changed

+30
-1
lines changed
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# Copyright 2024 openGemini Authors
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
15+
name: pr title lint
16+
17+
on:
18+
pull_request:
19+
types: [opened, edited, synchronize, reopened]
20+
branches:
21+
- main
22+
23+
jobs:
24+
runner:
25+
name: pr title lint
26+
runs-on: ubuntu-latest
27+
steps:
28+
- name: PR Title Lint
29+
uses: openGemini/pr-title-checker@v1.0.2

README_CN.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
![License](https://img.shields.io/badge/开源许可证-Apache2.0-green) ![language](https://img.shields.io/badge/语言-Python-blue.svg) [![version](https://img.shields.io/github/v/tag/opengemini/opengemini-client-python?label=%e5%8f%91%e8%a1%8c%e7%89%88%e6%9c%ac&color=blue)](https://github.com/opengemini/opengemini-client-python/releases)
44

5-
[English](README.md) | 简体中文
5+
[English](README.md) | 简体中文
66

77
`opengemini-client-python` 是一个用 Python 语言编写的 OpenGemini 客户端
88

0 commit comments

Comments
 (0)