1
0
Fork 0

Added title checker (#1472)

This commit is contained in:
Jules Lasne 2020-11-22 22:44:43 +01:00 committed by GitHub
parent 5073fcd468
commit 0849bf190c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 28 additions and 0 deletions

11
.github/pr-title-checker-config.json vendored Normal file
View 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
View 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 }}