Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Only workaround invalid notifications for CodeQL CLI 2.13.0 and earlier #1824

Merged
merged 1 commit into from
Aug 7, 2023

Conversation

henrymercer
Copy link
Contributor

CodeQL CLI 2.12.4, 2.12.5, 2.12.6, and 2.13.0 contained a bug where under some circumstances, CodeQL could produce an invalid SARIF output. The Action contains a workaround for this where it fixes up the SARIF to rectify this bug. Previously, we were applying this to all SARIF output that might contain diagnostics. This PR modifies this to only apply the workaround for CodeQL CLI 2.13.0 and earlier, which should speed up the Action a bit and reduce the chance of hitting the Node max string size.

Merge / deployment checklist

  • Confirm this change is backwards compatible with existing workflows.
  • Confirm the readme has been updated if necessary.
  • Confirm the changelog has been updated if necessary.

@henrymercer henrymercer requested a review from a team as a code owner August 3, 2023 21:26
@henrymercer henrymercer merged commit 63602c0 into main Aug 7, 2023
@henrymercer henrymercer deleted the henrymercer/cli-notifications-fix branch August 7, 2023 16:39
@github-actions github-actions bot mentioned this pull request Aug 8, 2023
6 tasks
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