@@ -57,3 +57,71 @@ make check
57572. To notify reviewers that the PR is ready for review, click **Ready for review** at the bottom of the page.
5858
59593. Engage in any discussions raised by reviewers and address any changes requested. Set the PR to draft PR mode while you address changes, then click **Ready for review** to re-request review.
60+
61+ ### Pull Request Requirements
62+
63+ Basic Structure
64+
65+ <type>: <subject>
66+
67+ <body>
68+
69+ <footer>
70+
71+ Type (required, lowercase)
72+ ββββββββββββ¬βββββββββββββββββββββββββββββββ¬βββββββββββββββββββββββββββββββββ
73+ β Type β Description β Example β
74+ ββββββββββββΌβββββββββββββββββββββββββββββββΌβββββββββββββββββββββββββββββββββ€
75+ β feat β New feature β feat: add user login β
76+ ββββββββββββΌβββββββββββββββββββββββββββββββΌβββββββββββββββββββββββββββββββββ€
77+ β fix β Bug fix β fix: resolve memory leak β
78+ ββββββββββββΌβββββββββββββββββββββββββββββββΌβββββββββββββββββββββββββββββββββ€
79+ β docs β Documentation changes β docs: update README β
80+ ββββββββββββΌβββββββββββββββββββββββββββββββΌβββββββββββββββββββββββββββββββββ€
81+ β style β Code formatting only β style: fix indentation β
82+ ββββββββββββΌβββββββββββββββββββββββββββββββΌβββββββββββββββββββββββββββββββββ€
83+ β refactor β Code restructuring β refactor: simplify auth module β
84+ ββββββββββββΌβββββββββββββββββββββββββββββββΌβββββββββββββββββββββββββββββββββ€
85+ β perf β Performance improvements β perf: reduce query time β
86+ ββββββββββββΌβββββββββββββββββββββββββββββββΌβββββββββββββββββββββββββββββββββ€
87+ β test β Test-related changes β test: add unit tests β
88+ ββββββββββββΌβββββββββββββββββββββββββββββββΌβββββββββββββββββββββββββββββββββ€
89+ β build β Build system or dependencies β build: upgrade to webpack 5 β
90+ ββββββββββββΌβββββββββββββββββββββββββββββββΌβββββββββββββββββββββββββββββββββ€
91+ β ci β CI/CD configuration β ci: update GitHub Actions β
92+ ββββββββββββΌβββββββββββββββββββββββββββββββΌβββββββββββββββββββββββββββββββββ€
93+ β chore β Miscellaneous tasks β chore: update .gitignore β
94+ ββββββββββββΌβββββββββββββββββββββββββββββββΌβββββββββββββββββββββββββββββββββ€
95+ β revert β Revert previous commit β revert: feat: old feature β
96+ ββββββββββββ΄βββββββββββββββββββββββββββββββ΄βββββββββββββββββββββββββββββββββ
97+ Length Limits
98+
99+ - Header (first line): Max 100 characters
100+ - Body/Footer lines: Max 100 characters per line
101+
102+ Required Rules
103+ ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ¬ββββββββββββββββββββββ¬βββββββββββββββββββββββββ
104+ β Invalid β Valid β Reason β
105+ ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββββββββββββΌβββββββββββββββββββββββββ€
106+ β : some message β fix: some message β Type required β
107+ ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββββββββββββΌβββββββββββββββββββββββββ€
108+ β fix: β fix: some message β Subject required β
109+ ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββββββββββββΌβββββββββββββββββββββββββ€
110+ β FIX: message β fix: message β Type must be lowercase β
111+ ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββββββββββββΌβββββββββββββββββββββββββ€
112+ β foo: message β feat: message β Type not in list β
113+ ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββΌββββββββββββββββββββββΌβββββββββββββββββββββββββ€
114+ β feat: very long message exceeding 100 characters limit β feat: short message β Header too long β
115+ ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ΄ββββββββββββββββββββββ΄βββββββββββββββββββββββββ
116+ Multi-line Format
117+
118+ ## Correct (blank line before body or footer)
119+ fix: resolve authentication bug
120+
121+ The login token was not being validated properly.
122+
123+ Closes #123
124+
125+ ## Warning (missing blank line)
126+ fix: resolve authentication bug
127+ The login token was not being validated properly.
0 commit comments