dracut
dracut copied to clipboard
ci: use CodeQL instead of LGTM
As LGTM is going to be shut down by EOY[0], let's move the code scanning to CodeQL as recommended. Thanks to GH integration the results from such scans will be shown both in the respective PR and in the Security -> Code Scanning tab[1].
[0] https://github.blog/2022-08-15-the-next-step-for-lgtm-com-github-code-scanning/ [1] https://github.com/dracutdevs/dracut/security/code-scanning
Going through my LGTM dashboard I noticed that dracut has LGTM enabled[0] but without the PR integration[1], hence I'm not sure to what degree you actually utilize the LGTM alerts. In other words - if you don't find LGTM/CodeQL useful, feel free to disregard this PR and just close it.
~~(I had to open this PR from the upstream repo itself, not my fork, otherwise GH would refuse to pick up the new action...)~~ Nevermind, that was caused by a typo, oh well... :shrug:
[0] https://lgtm.com/projects/g/dracutdevs/dracut/ [1] https://lgtm.com/projects/g/dracutdevs/dracut/ci/
The newly-found alerts can be found at https://github.com/dracutdevs/dracut/security/code-scanning?query=pr%3A1987+tool%3ACodeQL+is%3Aopen - once (if) this is merged, they'll appear here - https://github.com/dracutdevs/dracut/security/code-scanning where they can be dismissed and won't appear again.
As for the "Code scanning results" fail - this won't happen again in other PRs unless they introduce new alerts themselves (currently the CodeQL didn't run on the base (master) branch, so all alerts are marked as new).
Also, as I enabled the extended checks by default it might show a bit more alerts that might not be deemed useful - if that's the case, the CodeQL config can be fine-tuned by enabling/disabling specific checks or query categories. PTAL!
This issue is being marked as stale because it has not had any recent activity. It will be closed if no further activity occurs. If this is still an issue in the latest release of Dracut and you would like to keep it open please comment on this issue within the next 7 days. Thank you for your contributions.
Adding this to the 059 milestone and removing the need discussion label since this has already been acked,
This issue is being marked as stale because it has not had any recent activity. It will be closed if no further activity occurs. If this is still an issue in the latest release of Dracut and you would like to keep it open please comment on this issue within the next 7 days. Thank you for your contributions.