forked from AFPy/python-docs-fr
Added title checker (#1472)
This commit is contained in:
parent
5073fcd468
commit
0849bf190c
11
.github/pr-title-checker-config.json
vendored
Normal file
11
.github/pr-title-checker-config.json
vendored
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
{
|
||||||
|
"LABEL": {
|
||||||
|
"name": "Title needs formatting.",
|
||||||
|
"color": "EEEEEE"
|
||||||
|
},
|
||||||
|
"CHECKS": {
|
||||||
|
"prefixes": ["traduction de", "Traduction de", "Fix fuzzies in", "Fix fuzzies dans"],
|
||||||
|
"regexp": "\\.po",
|
||||||
|
"ignoreLabels": ["meta"]
|
||||||
|
}
|
||||||
|
}
|
17
.github/workflows/pr-title-cheker.yml
vendored
Normal file
17
.github/workflows/pr-title-cheker.yml
vendored
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
name: "PR Title Checker"
|
||||||
|
on:
|
||||||
|
pull_request:
|
||||||
|
types:
|
||||||
|
- opened
|
||||||
|
- edited
|
||||||
|
- synchronize
|
||||||
|
- labeled
|
||||||
|
- unlabeled
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
check:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: thehanimo/pr-title-checker@v1.2
|
||||||
|
with:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
Loading…
Reference in New Issue
Block a user