Skip to content

Commit

Permalink
fix: don't change tracker state unless severity is set
Browse files Browse the repository at this point in the history
  • Loading branch information
jamacku committed Oct 18, 2024
1 parent 4e2950c commit 834a5b0
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion dist/action.js

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

2 changes: 1 addition & 1 deletion dist/action.js.map

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

2 changes: 1 addition & 1 deletion dist/index.js

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

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/action.ts
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ async function action(
);
}

if (isMatchingProduct && isMatchingComponent) {
if (isMatchingProduct && isMatchingComponent && isSeveritySet) {

Check warning on line 194 in src/action.ts

View check run for this annotation

Codecov / codecov/patch

src/action.ts#L194

Added line #L194 was not covered by tests
const linkMessage = await trackerController.adapter.addLink(
'https://github.com/',
`${context.repo.owner}/${context.repo.repo}/pull/${prMetadata.number}`
Expand Down

0 comments on commit 834a5b0

Please sign in to comment.