Skip to content
This repository was archived by the owner on Jan 26, 2025. It is now read-only.

Commit b87bf34

Browse files
authored
feat: improve tool name on PR comment header (#13)
1 parent 0377213 commit b87bf34

File tree

3 files changed

+12
-5
lines changed

3 files changed

+12
-5
lines changed

CHANGELOG.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [1.4.1] - 2023-09-19
9+
10+
### Changed
11+
12+
- Improve tool name on PR comment header
13+
814
## [1.4.0] - 2023-09-19
915

1016
### Added
@@ -57,7 +63,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
5763
- Improve logging
5864
- Update dependencies and refactor action
5965

60-
[Unreleased]: https://github.com/mercedesbenzio/detect-action/compare/v1.4.0...main
66+
[Unreleased]: https://github.com/mercedesbenzio/detect-action/compare/v1.4.1...main
67+
[1.4.1]: https://github.com/mercedesbenzio/detect-action/compare/v1.4.0...v1.4.1
6168
[1.4.0]: https://github.com/mercedesbenzio/detect-action/compare/v1.3.0...v1.4.0
6269
[1.3.0]: https://github.com/mercedesbenzio/detect-action/compare/v1.2.0...v1.3.0
6370
[1.2.0]: https://github.com/mercedesbenzio/detect-action/compare/v1.1.0...v1.2.0

dist/index.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/report/blackduck-report-generator.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ const HEADER =
1616
const HEADER_ALIGNMENT = '|-|-|-|-|-|-|'
1717

1818
const SUCCESS_COMMENT =
19-
'# :white_check_mark: BlackDuck - None of your dependencies violate policy!'
19+
'# :white_check_mark: Black Duck - None of your dependencies violate policy!'
2020
const FAIL_COMMENT = (fail: boolean): string =>
2121
`# ${
2222
fail ? ':x:' : ':warning:'
23-
} BlackDuck - Found dependencies violating policy!`
23+
} Black Duck - Found dependencies violating policy!`
2424

2525
export class BlackDuckReportGenerator
2626
implements ReportGenerator<ReportProperties, ReportResult>

0 commit comments

Comments
 (0)