Skip to content

Commit ee0bcf9

Browse files
authored
Merge pull request #1429 from tisnik/lcore-1319-pr-title-checker
LCORE-1319: PR title checker configuration
2 parents 509987f + d0c8c97 commit ee0bcf9

File tree

2 files changed

+32
-0
lines changed

2 files changed

+32
-0
lines changed
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"LABEL": {
3+
"name": "title needs formatting",
4+
"color": "EEEEEE"
5+
},
6+
"CHECKS": {
7+
"prefixes": ["LCORE-"]
8+
},
9+
"MESSAGES": {
10+
"success": "All OK",
11+
"failure": "Failing CI test",
12+
"notice": ""
13+
}
14+
}
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: "PR Title Checker"
2+
on:
3+
pull_request_target:
4+
types:
5+
- opened
6+
- edited
7+
- synchronize
8+
- labeled
9+
- unlabeled
10+
jobs:
11+
check:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: thehanimo/pr-title-checker@v1.4.3
15+
with:
16+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
17+
pass_on_octokit_error: false
18+
configuration_path: .github/pr-title-checker-config.json

0 commit comments

Comments
 (0)