Skip to content

Commit 7f33ba7

Browse files
chore: Release 6.1.0 [skip ci]
1 parent afa4edb commit 7f33ba7

File tree

3 files changed

+13
-3
lines changed

3 files changed

+13
-3
lines changed

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
# Changelog
22

3+
## [6.1.0](https://github.com/amannn/action-semantic-pull-request/compare/v6.0.1...v6.1.0) (2025-08-19)
4+
5+
### Features
6+
7+
* Support providing regexps for types ([#292](https://github.com/amannn/action-semantic-pull-request/issues/292)) ([a30288b](https://github.com/amannn/action-semantic-pull-request/commit/a30288bf13b78cca17c3abdc144db5977476fc8b))
8+
9+
### Bug Fixes
10+
11+
* Remove trailing whitespace from "unknown release type" error message ([#291](https://github.com/amannn/action-semantic-pull-request/issues/291)) ([afa4edb](https://github.com/amannn/action-semantic-pull-request/commit/afa4edb1c465fb22230da8ff4776a163ab5facdf))
12+
313
## [6.0.1](https://github.com/amannn/action-semantic-pull-request/compare/v6.0.0...v6.0.1) (2025-08-13)
414

515
### Bug Fixes

dist/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32542,11 +32542,11 @@ async function validatePrTitle(
3254232542
raiseError(`No subject found in pull request title "${prTitle}".`);
3254332543
}
3254432544

32545-
if (!types.includes(result.type)) {
32545+
if (!types.some((type) => new RegExp(`^${type}$`).test(result.type))) {
3254632546
raiseError(
3254732547
`Unknown release type "${
3254832548
result.type
32549-
}" found in pull request title "${prTitle}". \n\n${printAvailableTypes()}`
32549+
}" found in pull request title "${prTitle}".\n\n${printAvailableTypes()}`
3255032550
);
3255132551
}
3255232552

dist/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)