Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0849bf1

Browse files
authored
Added title checker (#1472)
1 parent 5073fcd commit 0849bf1

File tree

2 files changed

+28
-0
lines changed

2 files changed

+28
-0
lines changed

.github/pr-title-checker-config.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"LABEL": {
3+
"name": "Title needs formatting.",
4+
"color": "EEEEEE"
5+
},
6+
"CHECKS": {
7+
"prefixes": ["traduction de", "Traduction de", "Fix fuzzies in", "Fix fuzzies dans"],
8+
"regexp": "\\.po",
9+
"ignoreLabels": ["meta"]
10+
}
11+
}

.github/workflows/pr-title-cheker.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: "PR Title Checker"
2+
on:
3+
pull_request:
4+
types:
5+
- opened
6+
- edited
7+
- synchronize
8+
- labeled
9+
- unlabeled
10+
11+
jobs:
12+
check:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: thehanimo/[email protected]
16+
with:
17+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)