diff --git a/.github/pr-title-checker-config.json b/.github/pr-title-checker-config.json new file mode 100644 index 0000000..a222ebb --- /dev/null +++ b/.github/pr-title-checker-config.json @@ -0,0 +1,25 @@ +{ + "LABEL":{ + "name":"Title need formatting", + "color":"EEEEEE" + }, + "CHECKS": { + "prefixes": ["๐ŸŽ‰", ":tada:", "๐Ÿ”–", ":bookmark:", "๐Ÿ‘ฅ", ":busts_in_silhouette:", "๐Ÿ“„", ":page_facing_up:", "โœจ", ":sparkles:", "๐Ÿ‘ฝ๏ธ", ":alien:", + "๐Ÿšš", ":truck:", "๐Ÿ—๏ธ", ":building_construction:", "๐Ÿ”ง", ":wrench:", "๐Ÿ”จ", ":hammer:", "๐Ÿ’ฅ", ":collision:", "๐Ÿ—ƒ๏ธ", ":card_file_box:", + "๐Ÿ‘”", ":necktie:", "๐Ÿ›‚", ":passport_control:", "๐Ÿ›", ":bug:", "๐Ÿš‘๏ธ", ":ambulance:", "๐Ÿšจ", ":rotating_light:", "โœ๏ธ", ":pencil2:", + "๐Ÿ”’๏ธ", ":lock:", "๐Ÿฉน", ":adhesive_bandage:", "โž•", ":heavy_plus_sign:", "โž–", ":heavy_minus_sign:", "โฌ‡๏ธ", ":arrow_down:", + "โฌ†๏ธ", ":arrow_up:", "๐Ÿ“Œ", ":pushpin:", "๐ŸŽจ", ":art:", "โšก๏ธ", ":zap:", "โ™ป๏ธ", ":recycle:", "๐Ÿ”ฅ", ":fire:", "โšฐ๏ธ", ":coffin:", + "๐Ÿฅ…", ":goal_net:", "๐Ÿ—‘๏ธ", ":wastebasket:", "๐Ÿ’ก", ":bulb:", "๐Ÿง‘โ€๐Ÿ’ป", ":technologist:", "๐Ÿšธ", ":children_crossing:", + "๐Ÿ“ฑ", ":iphone:", "๐Ÿฑ", ":bento:", "โ™ฟ๏ธ", ":wheelchair:", "๐Ÿ’„", ":lipstick:", "๐Ÿ’ซ", ":dizzy:", "๐Ÿ‘ท", ":construction_worker:", + "๐Ÿ’š", ":green_heart:", "๐Ÿš€", ":rocket:", "๐Ÿฉบ", ":stethoscope:", "๐Ÿงฑ", ":bricks:", "๐Ÿ™ˆ", ":see_no_evil:", "โช๏ธ", ":rewind:", + "๐Ÿ”€", ":twisted_rightwards_arrows:", "๐Ÿ“", ":memo:", "โœ…", ":white_check_mark:", "๐ŸŒ", ":globe_with_meridians:", + "๐Ÿ’ฌ", ":speech_balloon:", "๐Ÿ”Š", ":loud_sound:", "๐Ÿ”‡", ":mute:", "๐Ÿท๏ธ", ":label:", "๐Ÿงช", ":test_tube", "๐Ÿ“ˆ", ":chart_with_upwards_trend:", + "๐Ÿง", ":monocle_face:", "๐ŸŒฑ", ":seedling:"], + "ignoreLabels": [" "] + }, + "MESSAGES": { + "success": "All OK", + "failure": "Failing CI test", + "notice": "" + } +} diff --git a/.github/workflows/pr-title-checker.yml b/.github/workflows/pr-title-checker.yml new file mode 100644 index 0000000..5c5f0ee --- /dev/null +++ b/.github/workflows/pr-title-checker.yml @@ -0,0 +1,19 @@ +name: "Title Checker" +on: + pull_request: + types: + - opened + - edited + - synchronize + - labeled + - unlabeled + +jobs: + check: + runs-on: ubuntu-latest + steps: + - uses: thehanimo/pr-title-checker@v1.3.4 + with: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + pass_on_octokit_error: false + configuration_path: ".github/pr-title-checker-config.json" \ No newline at end of file