From bed8d40380dfdbf4fbd7ec77438f2e5f58e25281 Mon Sep 17 00:00:00 2001 From: harmeetsingh11 Date: Wed, 24 Jan 2024 22:26:54 +0530 Subject: [PATCH] feat: add JSON file for PR title checker --- .github/pr-title-checker.json | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/pr-title-checker.json diff --git a/.github/pr-title-checker.json b/.github/pr-title-checker.json new file mode 100644 index 0000000..ba37ae9 --- /dev/null +++ b/.github/pr-title-checker.json @@ -0,0 +1,25 @@ +{ + "LABEL": { + "name": "title needs formatting", + "color": "F9D0C4" + }, + "CHECKS": { + "prefixes": [ + "build: ", + "chore: ", + "docs: ", + "feat: ", + "fix: ", + "perf: ", + "refactor: ", + "revert: ", + "style: ", + "test: " + ] + }, + "MESSAGES": { + "success": "Everything is great. Status: 200", + "failure": "PR title does not conform to the required format. Please use one of the specified prefixes followed by a colon and a space. Status: 400", + "notice": "" + } + } \ No newline at end of file