@@ -6,8 +6,8 @@ const config = {
66 * @description depends on repo-visualizer action, it does not support any custom
77 * feature requests and etc., so just ignore issues with it's commit
88 *
9- * @param {* } message entirety of commit message (header+ description)
10- * @returns Boolean value which shows, would commit be ignored or not
9+ * @param {* } message entirety of commit message (header + description)
10+ * @returns Boolean value which shows whether commit should be ignored or not
1111 */
1212 ( message ) => / ^ r e p o v i s u a l i z e r : \s * u p d a t e d i a g r a m $ / im. test ( message ) ,
1313 /** Ignores:
@@ -16,8 +16,8 @@ const config = {
1616 * tracking updates, but security issues too, it is acceptable to ignore issues
1717 * with it's commit naming
1818 *
19- * @param {* } message entirety of commit message (header+ description)
20- * @returns Boolean value which shows, would commit be ignored or not
19+ * @param {* } message entirety of commit message (header + description)
20+ * @returns Boolean value which shows whether commit should be ignored or not
2121 */
2222 ( message ) =>
2323 / ^ ( b u i l d | c h o r e | d e p s | c i ) \( [ ^ ) ] + \) : b u m p (?: @ ? [ \w - ] + (?: \/ [ \w - ] + ) * | .+ f r o m [ \w . - ] + t o [ \w . - ] + ) $ / gm. test (
@@ -32,10 +32,25 @@ const config = {
3232 * possible errors from bot which doesn't touch source code, it optimizes only
3333 * images
3434 *
35- * @param {* } message entirety of commit message (header+ description)
36- * @returns Boolean value which shows, would commit be ignored or not
35+ * @param {* } message entirety of commit message (header + description)
36+ * @returns Boolean value which shows whether commit should be ignored or not
3737 */
38- ( message ) => / ^ \[ [ i I ] m g [ b B ] o t \] (?: O p t i m i z e i m a g e s | : ? .* ) $ / m. test ( message )
38+ ( message ) => / ^ \[ [ i I ] m g [ b B ] o t \] (?: O p t i m i z e i m a g e s | : ? .* ) $ / m. test ( message ) ,
39+ /** Ignores:
40+ * @type : copilot
41+ * @description filters out automatically generated commits authored or co-authored by
42+ * Github Copilot. Such commits typically have generic messages.
43+ * These are IDE-assisted maintenance actions and do not follow the
44+ * conventional commit specification. Since they are non-semantic and
45+ * often result from editor integrations rather than intentional versioning
46+ * actions, they are safely ignored by commitlint to prevent unnecessary CI
47+ * failures.
48+ *
49+ *
50+ * @param {* } message entirety of commit message (header + description)
51+ * @returns Boolean value which shows whether commit should be ignored or not
52+ */
53+ ( message ) => / c o - a u t h o r e d - b y : \s * c o p i l o t \s * < / im. test ( message )
3954 ] ,
4055 rules : {
4156 'header-max-length' : async ( ) => [ 2 , 'always' , 72 ] ,
0 commit comments