Skip to content

Add lgtm integration - #1043

Merged
Rachel Macfarlane (RMacfarlane) merged 1 commit into
microsoft:masterfrom
s0:lgtm
Jul 17, 2019
Merged

Add lgtm integration#1043
Rachel Macfarlane (RMacfarlane) merged 1 commit into
microsoft:masterfrom
s0:lgtm

Conversation

@s0

Copy link
Copy Markdown
Contributor

Following #948 getting merged, and github/codeql#920 being deployed to LGTM, there are now 0 alerts for this project on LGTM :).

It's probably a good idea to try and keep these alerts 0 or low. And there are a couple of ways that you could go about doing this:

  • Adding a badge to the README that tracks how many LGTM alerts there are. This PR introduces that badge, though there aren't currently any other badges on the README, so I wasn't sure where the best place for it would be (this currently adds it under the Contributing header). (there's also a code quality badge if you care about that)
  • Enabling the automated code review for pull requests, which will check all incoming pull requests to see if they would introduce any alerts.

Not sure which of these you'd prefer, but let me know if you have any questions. :)

@queerviolet

Copy link
Copy Markdown
Contributor

Question about the badge: if a security issue is detected by LGTM, will the badge immediately update?

Follow-up question: is that, um, good?

@s0

Sam Lanning (s0) commented May 9, 2019

Copy link
Copy Markdown
Contributor Author

Question about the badge: if a security issue is detected by LGTM, will the badge immediately update?

Ashi Krishnan (@queerviolet) yes. The idea is that the alert count can be checked before a new release is made.

Follow-up question: is that, um, good?

Depends.

The automated code review is better than this in that it will catch things in pull requests before they even reach master. We've also recently migrated to the LGTM.com GitHub App, so we are no longer using OAuth.

@RMacfarlane
Rachel Macfarlane (RMacfarlane) merged commit 20810e3 into microsoft:master Jul 17, 2019
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.

3 participants