Skip to content

Commit e1663be

Browse files
committed
ci: more workflows cleanup
1 parent be0fe71 commit e1663be

3 files changed

Lines changed: 23 additions & 44 deletions

File tree

.github/autolabeler.yml

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
template: "Mandatory field" #https://github.com/release-drafter/release-drafter/blob/master/bin/generate-schema.js#L15
1+
template: "Mandatory field" #https://github.com/release-drafter/release-drafter/blob/master/bin/generate-schema.js#L16
22
autolabeler:
3-
# - label: 'breaking'
4-
# body:
5-
# - '/BREAKING CHANGE/i'
3+
- label: 'build'
4+
title:
5+
- '/^build:/'
66
- label: 'fix'
77
title:
88
- '/^fix:/'
@@ -15,6 +15,10 @@ autolabeler:
1515
- label: 'chore'
1616
title:
1717
- '/^chore:/'
18+
- '/^chore(deps):/'
19+
- '/^chore(deps-dev):/'
20+
- '/^build(deps):/'
21+
- '/^build(deps-dev):/'
1822
- label: 'ci'
1923
title:
2024
- '/^ci:/'
@@ -24,9 +28,12 @@ autolabeler:
2428
- label: 'refactor'
2529
title:
2630
- '/^refactor:/'
31+
- label: 'revert'
32+
title:
33+
- '/^revert:/'
2734
- label: 'style'
2835
title:
2936
- '/^style:/'
3037
- label: 'test'
3138
title:
32-
- '/^test:/'
39+
- '/^test:/'

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

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,24 +5,32 @@
55
},
66
"CHECKS": {
77
"prefixes": [
8+
"build: ",
89
"fix: ",
910
"feat: ",
1011
"docs: ",
1112
"chore: ",
13+
"chore(deps): ",
14+
"chore(deps-dev): ",
15+
"build(deps): ",
16+
"build(deps-dev): ",
1217
"ci: ",
1318
"perf: ",
1419
"refactor: ",
20+
"revert: ",
1521
"style: ",
1622
"test: "
1723
],
1824
"ignoreLabels": [
1925
"skip-changelog",
2026
"skip-ci"
21-
]
27+
],
28+
"regexp": ".*:\\s[A-Z0-9]+-[0-9]+:\\s.*",
29+
"regexpFlags": "i"
2230
},
2331
"MESSAGES": {
2432
"success": "PR title is valid",
2533
"failure": "PR title is invalid",
26-
"notice": "Please set prefix"
34+
"notice": "For more information, see [Conventional Commits specification](https://conventionalcommits.org)"
2735
}
28-
}
36+
}

.github/workflows/docs.yml

Lines changed: 0 additions & 36 deletions
This file was deleted.

0 commit comments

Comments
 (0)