Skip to content

Commit 9cdebc5

Browse files
committed
Allowing commits from Dependabot prefixed by: 'Docs:'
1 parent 6a8802c commit 9cdebc5

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

.github/scripts/check_pr_title.py

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
"PI: ",
1212
"ROB: ",
1313
"DOC: ",
14+
"Docs: ", # MRs from Dependabot
1415
"TST: ",
1516
"DEV: ",
1617
"STY: ",

docs/dev/intro.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ The `PREFIX` can be:
5656
* `PI`: A performance improvement. This could also be a reduction in the
5757
file size of PDF files generated by pdfly.
5858
* `ROB`: A robustness change. Dealing better with broken PDF files.
59-
* `DOC`: A documentation change.
59+
* `DOC`: A documentation change. `Docs:` is also allowed for commits made by DependaBot.
6060
* `TST`: Adding or adjusting tests.
6161
* `DEV`: Developer experience improvements, e.g. pre-commit or setting up CI.
6262
* `MAINT`: Quite a lot of different stuff. Performance improvements are for sure

make_release.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ def get_formatted_changes(git_tag: str) -> Tuple[str, str]:
218218
"PI",
219219
"BUG",
220220
"ROB",
221-
"DOC",
221+
"DOC", # We ignore MRs from Dependabot prefixed with: "Docs:"
222222
"DEV",
223223
"CI",
224224
"MAINT",

0 commit comments

Comments
 (0)