Skip to content

Commit 6f83b7a

Browse files
✨ Feature/pr title checker (#315)
* add flow for pr-title checker * change some of the wordings * reformat actions and config * add missing quotes * add all the emojis from confluence * add missing double quotes * add missing quotes
1 parent 8f752a0 commit 6f83b7a

File tree

2 files changed

+44
-0
lines changed

2 files changed

+44
-0
lines changed

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

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
{
2+
"LABEL":{
3+
"name":"Title need formatting",
4+
"color":"EEEEEE"
5+
},
6+
"CHECKS": {
7+
"prefixes": ["🎉", ":tada:", "🔖", ":bookmark:", "👥", ":busts_in_silhouette:", "📄", ":page_facing_up:", "", ":sparkles:", "👽️", ":alien:",
8+
"🚚", ":truck:", "🏗️", ":building_construction:", "🔧", ":wrench:", "🔨", ":hammer:", "💥", ":collision:", "🗃️", ":card_file_box:",
9+
"👔", ":necktie:", "🛂", ":passport_control:", "🐛", ":bug:", "🚑️", ":ambulance:", "🚨", ":rotating_light:", "✏️", ":pencil2:",
10+
"🔒️", ":lock:", "🩹", ":adhesive_bandage:", "", ":heavy_plus_sign:", "", ":heavy_minus_sign:", "⬇️", ":arrow_down:",
11+
"⬆️", ":arrow_up:", "📌", ":pushpin:", "🎨", ":art:", "⚡️", ":zap:", "♻️", ":recycle:", "🔥", ":fire:", "⚰️", ":coffin:",
12+
"🥅", ":goal_net:", "🗑️", ":wastebasket:", "💡", ":bulb:", "🧑‍💻", ":technologist:", "🚸", ":children_crossing:",
13+
"📱", ":iphone:", "🍱", ":bento:", "♿️", ":wheelchair:", "💄", ":lipstick:", "💫", ":dizzy:", "👷", ":construction_worker:",
14+
"💚", ":green_heart:", "🚀", ":rocket:", "🩺", ":stethoscope:", "🧱", ":bricks:", "🙈", ":see_no_evil:", "⏪️", ":rewind:",
15+
"🔀", ":twisted_rightwards_arrows:", "📝", ":memo:", "", ":white_check_mark:", "🌐", ":globe_with_meridians:",
16+
"💬", ":speech_balloon:", "🔊", ":loud_sound:", "🔇", ":mute:", "🏷️", ":label:", "🧪", ":test_tube", "📈", ":chart_with_upwards_trend:",
17+
"🧐", ":monocle_face:", "🌱", ":seedling:"],
18+
"ignoreLabels": [" "]
19+
},
20+
"MESSAGES": {
21+
"success": "All OK",
22+
"failure": "Failing CI test",
23+
"notice": ""
24+
}
25+
}
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: "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 }}
18+
pass_on_octokit_error: false
19+
configuration_path: ".github/pr-title-checker-config.json"

0 commit comments

Comments
 (0)