Skip to content

Commit

Permalink
feat: improve tool name on PR comment header (#13)
Browse files Browse the repository at this point in the history
  • Loading branch information
tvcsantos authored Sep 19, 2023
1 parent 0377213 commit b87bf34
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 5 deletions.
9 changes: 8 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [1.4.1] - 2023-09-19

### Changed

- Improve tool name on PR comment header

## [1.4.0] - 2023-09-19

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

[Unreleased]: https://github.com/mercedesbenzio/detect-action/compare/v1.4.0...main
[Unreleased]: https://github.com/mercedesbenzio/detect-action/compare/v1.4.1...main
[1.4.1]: https://github.com/mercedesbenzio/detect-action/compare/v1.4.0...v1.4.1
[1.4.0]: https://github.com/mercedesbenzio/detect-action/compare/v1.3.0...v1.4.0
[1.3.0]: https://github.com/mercedesbenzio/detect-action/compare/v1.2.0...v1.3.0
[1.2.0]: https://github.com/mercedesbenzio/detect-action/compare/v1.1.0...v1.2.0
Expand Down
4 changes: 2 additions & 2 deletions dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/report/blackduck-report-generator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ const HEADER =
const HEADER_ALIGNMENT = '|-|-|-|-|-|-|'

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

export class BlackDuckReportGenerator
implements ReportGenerator<ReportProperties, ReportResult>
Expand Down

0 comments on commit b87bf34

Please sign in to comment.