Skip to content

fix(COD-5327): remove heading message#225

Merged
Christiaan-de-Wet merged 1 commit into
mainfrom
cdw/fix/COD-5327/remove_message_heading
Jul 3, 2025
Merged

fix(COD-5327): remove heading message#225
Christiaan-de-Wet merged 1 commit into
mainfrom
cdw/fix/COD-5327/remove_message_heading

Conversation

@Christiaan-de-Wet

Copy link
Copy Markdown
Contributor

Description

Remove the heading from the message, this will be taken care of by the new Markdown template.

Tests and additional notes

npm run test ran all test suites and passed

> code-security-action@1.0.0 test
> npx jest

 PASS  test/util.test.ts
  ✓ debug on via isDebug (1 ms)
  ✓ debug on via debug input
  ✓ debug off by default (1 ms)

Test Suites: 1 passed, 1 total
Tests:       3 passed, 3 total
Snapshots:   0 total
Time:        1.909 s
Ran all test suites.

Comment thread src/index.ts Outdated
if (Object.values(issuesByTool).some((x) => x.length > 0) && getInput('token').length > 0) {
info('Posting comment to GitHub PR as there were new issues introduced:')
let message = `Lacework Code Security found potential new issues in this PR.`
let message = ""

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this be '' in TypeScript?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed 🤦

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

all passing now :)

@Christiaan-de-Wet
Christiaan-de-Wet force-pushed the cdw/fix/COD-5327/remove_message_heading branch from 80da541 to c599dc9 Compare July 3, 2025 12:37
@Christiaan-de-Wet
Christiaan-de-Wet enabled auto-merge (squash) July 3, 2025 12:40
@Christiaan-de-Wet
Christiaan-de-Wet merged commit e3248f7 into main Jul 3, 2025
3 checks passed
@Christiaan-de-Wet
Christiaan-de-Wet deleted the cdw/fix/COD-5327/remove_message_heading branch July 3, 2025 12:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants