Skip to content

Update to use GitHub CodeQL for code scanning (Angular UI)#1989

Merged
tdonohue merged 1 commit intoDSpace:mainfrom
tdonohue:enable_github_codeql
Dec 6, 2022
Merged

Update to use GitHub CodeQL for code scanning (Angular UI)#1989
tdonohue merged 1 commit intoDSpace:mainfrom
tdonohue:enable_github_codeql

Conversation

@tdonohue
Copy link
Copy Markdown
Member

@tdonohue tdonohue commented Dec 5, 2022

Port of Code Scanning from DSpace/DSpace#8548 to Angular UI

Description

Enables GitHub Code Scanning via a new GitHub Action defined in codescan.yml

This will (eventually) replace our usage of LGTM.com, as LGTM is retiring later this year (after being integrated into GitHub). See https://github.blog/2022-08-15-the-next-step-for-lgtm-com-github-code-scanning/

Currently, Code Scanning is configured with default settings & enabled for all PRs and all commits to main.

It appears this PR has run it's own initial scan which can be found in the "Code scanning results" in the checks below. This can be used to review this PR is working, and it shows that we have some code cleanup/analysis to do. It is also possible some of these are false positives, as we occasionally hit those with LGTM (and this code scanner works similar to LGTM).

@tdonohue tdonohue added this to the 7.5 milestone Dec 5, 2022
@tdonohue tdonohue self-assigned this Dec 5, 2022
@tdonohue tdonohue force-pushed the enable_github_codeql branch from 480eada to 3f9884e Compare December 6, 2022 17:28
@tdonohue
Copy link
Copy Markdown
Member Author

tdonohue commented Dec 6, 2022

Merging to enable GitHub Code Scanning. The basics are all working. We can adapt as needed. (For about one week, LGTM will continue to function in order to allow us to see how Code Scanning works alongside LGTM)

@tdonohue tdonohue merged commit b10c1c5 into DSpace:main Dec 6, 2022
@tdonohue tdonohue deleted the enable_github_codeql branch December 6, 2022 18:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

No open projects
Status: ✅ Done

Development

Successfully merging this pull request may close these issues.

1 participant