Skip to content

[SEC-6115] enabling code scanning via semgrep - #12

Merged
russwyte merged 8 commits into
mainfrom
SEC-6115-enabling-code-scanning-via-semgrep
Aug 20, 2026
Merged

[SEC-6115] enabling code scanning via semgrep#12
russwyte merged 8 commits into
mainfrom
SEC-6115-enabling-code-scanning-via-semgrep

Conversation

@randall-wyatt

@randall-wyatt randall-wyatt commented Aug 13, 2026

Copy link
Copy Markdown

SEC-6115

Description

  • Enables the code analysis workflow via Semgrep

@randall-wyatt
randall-wyatt requested a review from a team as a code owner August 13, 2026 15:07
@randall-wyatt randall-wyatt added the enhancement New feature or request label Aug 17, 2026

@russwyte russwyte left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

This PR is red, and it also does not actually enable GitHub Code Scanning.

Please:

  1. Replace .github/workflows/code-scanning.yml with the same ~50-line workflow that already landed elsewhere (for example scalafix-rules): semgrep scan --config .scala-security/scala/ --sarif-output=semgrep.sarif, then github/codeql-action/upload-sarif@v4. Delete the commented Claude/Bedrock triage job and the extra permissions that only exist for it (id-token, pull-requests, checks).

  2. CI build (17) is failing, which fail-fast-cancels build (8) and build (11). olafurpg/setup-scala@v10 installs Amazon Corretto 17.0.0.35.1, which NPEs on cgroup v2 (CgroupV2Subsystem.getInstance). That is pre-existing in .github/workflows/ci.yaml, but it keeps this PR red. Please bump that workflow to a current JDK/sbt setup (actions/checkout@v4, actions/setup-java, sbt/setup-sbt) so the matrix can pass.

Comment thread .github/workflows/code-scanning.yml Outdated
Comment thread .github/workflows/code-scanning.yml Outdated
randall-wyatt and others added 6 commits August 20, 2026 09:03
Un-nest steps from strategy, replace olafurpg/setup-scala with setup-java and setup-sbt, and keep Temurin 17/21.
The 2.x runner needs 17+, so pin sbt-runner-version to 1.12.11 for the 11/17/21 matrix.
Keep 11 and 17 with the sbt 1.x runner.
@russwyte
russwyte self-requested a review August 20, 2026 13:21
@russwyte
russwyte merged commit 57642fd into main Aug 20, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants