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

github/workflows: Enable CodeQL analysis for Kotlin / Java #6134

Merged
merged 2 commits into from
Feb 6, 2023

Conversation

sschuberth
Copy link
Member

See 1.

Signed-off-by: Sebastian Schuberth sschuberth@gmail.com

@sschuberth sschuberth requested a review from a team as a code owner November 28, 2022 19:31
@sschuberth sschuberth force-pushed the codeql-action-kotlin branch 3 times, most recently from b89e874 to 822a688 Compare November 28, 2022 20:05
@sschuberth sschuberth marked this pull request as draft November 29, 2022 09:13
@sschuberth

This comment was marked as outdated.

@sschuberth sschuberth force-pushed the codeql-action-kotlin branch 2 times, most recently from 0aa9dda to f64685b Compare December 2, 2022 07:44
@sschuberth

This comment was marked as outdated.

@sschuberth sschuberth added the on hold Pull requests that cannot currently be merged label Dec 16, 2022
sschuberth added a commit that referenced this pull request Jan 6, 2023
The LGTM service has been long deprecated, see [1]. As soon as CodeQL
(the successor on GitHub side) fully supports Kotlin 1.8, ORT will take it
into use, see [2].

[1]: https://github.blog/2022-08-15-the-next-step-for-lgtm-com-github-code-scanning/
[2]: #6134

Signed-off-by: Sebastian Schuberth <sschuberth@gmail.com>
sschuberth added a commit that referenced this pull request Jan 6, 2023
The LGTM service has been long deprecated, see [1]. As soon as CodeQL
(the successor on GitHub side) fully supports Kotlin 1.8, ORT will take it
into use, see [2].

[1]: https://github.blog/2022-08-15-the-next-step-for-lgtm-com-github-code-scanning/
[2]: #6134

Signed-off-by: Sebastian Schuberth <sschuberth@gmail.com>
kwmyoo pushed a commit to kwmyoo/ort that referenced this pull request Jan 11, 2023
commit b6cd529
Author: Michael Yoo <vbtkdpf148@gmail.com>
Date:   Tue Jan 10 13:26:24 2023 +0900

    Pip: change configuration key for macOS

    Configuration key of macOS for python-inspector is "macos", whereas in Pip.kt it is set to "mac".
    So, change the configuration key to "macos".

    Signed-off-by: Michael Yoo <vbtkdpf148@gmail.com>

commit 17c546c
Author: Michael Yoo <vbtkdpf148@gmail.com>
Date:   Mon Jan 9 16:24:14 2023 +0900

    Pip: fix operating system name for macOS

    The code currently inputs operatingSystem of macOS as "mac" when running python-inspector.

    However, python-inspector expects the option of macOS to be "macos".

    Signed-off-by: Michael Yoo <vbtkdpf148@gmail.com>

commit 685c153
Author: Sebastian Schuberth <sschuberth@gmail.com>
Date:   Fri Jan 6 11:52:07 2023 +0100

    README: Remove the LGTM badge

    The LGTM service has been long deprecated, see [1]. As soon as CodeQL
    (the successor on GitHub side) fully supports Kotlin 1.8, ORT will take it
    into use, see [2].

    [1]: https://github.blog/2022-08-15-the-next-step-for-lgtm-com-github-code-scanning/
    [2]: oss-review-toolkit#6134

    Signed-off-by: Sebastian Schuberth <sschuberth@gmail.com>
@sschuberth

This comment was marked as outdated.

@sschuberth sschuberth force-pushed the codeql-action-kotlin branch 2 times, most recently from dad438f to 845194a Compare January 26, 2023 12:13
See [1]. Use the latest tools for now for Kotlin 1.8 support [2].

[1]: https://github.blog/changelog/2022-11-28-codeql-code-scanning-launches-kotlin-analysis-support-beta/
[2]: github/codeql#11460 (reply in thread)

Signed-off-by: Sebastian Schuberth <sschuberth@gmail.com>
According to sources like [1], SHA-1 is not really slower than MD5
anymore on modern JVM, so use SHA-1 to silence a CodeQL finding about a
weak algorithm.

[1]: https://automationrhapsody.com/md5-sha-1-sha-256-sha-512-speed-performance/

Signed-off-by: Sebastian Schuberth <sschuberth@gmail.com>
@sschuberth sschuberth removed the on hold Pull requests that cannot currently be merged label Jan 27, 2023
@sschuberth sschuberth marked this pull request as ready for review January 27, 2023 17:01
@sschuberth sschuberth enabled auto-merge (rebase) January 27, 2023 17:10
@sschuberth
Copy link
Member Author

Ping @oss-review-toolkit/kotlin-devs 😉

@sschuberth sschuberth merged commit d92cfd8 into main Feb 6, 2023
@sschuberth sschuberth deleted the codeql-action-kotlin branch February 6, 2023 07:03
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.

None yet

3 participants