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

Update codeQL to v3 #3548

Merged
merged 1 commit into from
Mar 30, 2024
Merged

Update codeQL to v3 #3548

merged 1 commit into from
Mar 30, 2024

Conversation

spolti
Copy link
Contributor

@spolti spolti commented Mar 25, 2024

chore: Update CodeQL to V3 to get rid of this warning:
Warning: CodeQL Action v2 will be deprecated on December 5th, 2024
Plus, attenpt to fix the Snyk Container scan failures due errors when trying to
upload the SERIF file:

Processing sarif files: ["application/storage-initializer/docker.snyk.sarif"]
  Uploading results
  Successfully uploaded results
Waiting for processing to finish
Error: Code Scanning could not process the submitted SARIF file:
could not convert rules: invalid security severity value, is not a number: null
ConfigurationError: Code Scanning could not process the submitted SARIF file:
could not convert rules: invalid security severity value, is not a number: null
    at run (/home/runner/work/_actions/github/codeql-action/v2/lib/upload-sarif-action.js:65:15)

Release note:

None

chore:	Update CodeQL to V3 to get rid of this warning:
	`Warning: CodeQL Action v2 will be deprecated on December 5th, 2024`
	Plus, attenpt to fix the Snyk Container scan failures due errors when trying to
	upload the SERIF file:
	`Processing sarif files: ["application/storage-initializer/docker.snyk.sarif"]
	  Uploading results
	  Successfully uploaded results
	Waiting for processing to finish
	Error: Code Scanning could not process the submitted SARIF file:
	could not convert rules: invalid security severity value, is not a number: null
	ConfigurationError: Code Scanning could not process the submitted SARIF file:
	could not convert rules: invalid security severity value, is not a number: null
	    at run (/home/runner/work/_actions/github/codeql-action/v2/lib/upload-sarif-action.js:65:15)`

Signed-off-by: Spolti <fspolti@redhat.com>
@@ -45,7 +45,8 @@ jobs:

- name: Upload sarif file to Github Code Scanning
if: always()
uses: github/codeql-action/upload-sarif@v2
continue-on-error: true #avoid fail the pipeline if the SARIF upload fails.
Copy link
Member

Choose a reason for hiding this comment

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

What are some example upload failures?

Copy link
Contributor Author

@spolti spolti Mar 26, 2024

Choose a reason for hiding this comment

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

Copy link
Member

@terrytangyuan terrytangyuan left a comment

Choose a reason for hiding this comment

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

/lgtm

@yuzisun
Copy link
Member

yuzisun commented Mar 30, 2024

/approve

Copy link

oss-prow-bot bot commented Mar 30, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: spolti, terrytangyuan, yuzisun

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@yuzisun yuzisun merged commit 731fc0f into kserve:master Mar 30, 2024
45 checks passed
@spolti spolti deleted the imageScanM branch April 8, 2024 16:34
tjandy98 pushed a commit to tjandy98/kserve that referenced this pull request Apr 10, 2024
update codeQL to v3

chore:	Update CodeQL to V3 to get rid of this warning:
	`Warning: CodeQL Action v2 will be deprecated on December 5th, 2024`
	Plus, attenpt to fix the Snyk Container scan failures due errors when trying to
	upload the SERIF file:
	`Processing sarif files: ["application/storage-initializer/docker.snyk.sarif"]
	  Uploading results
	  Successfully uploaded results
	Waiting for processing to finish
	Error: Code Scanning could not process the submitted SARIF file:
	could not convert rules: invalid security severity value, is not a number: null
	ConfigurationError: Code Scanning could not process the submitted SARIF file:
	could not convert rules: invalid security severity value, is not a number: null
	    at run (/home/runner/work/_actions/github/codeql-action/v2/lib/upload-sarif-action.js:65:15)`

Signed-off-by: Spolti <fspolti@redhat.com>
Signed-off-by: tjandy98 <3953059+tjandy98@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants