Repository navigation
Description
Is your feature request related to a problem? Please describe.
GitHub's dependency graph can't read sbt builds, so the server's Java dependencies never reach Dependabot. For example, the server depends on HikariCP and Micrometer:
Line 441 in 2f41e34
| "com.zaxxer" % "HikariCP" % "7.1.0", |
Line 417 in 2f41e34
| "io.micrometer" % "micrometer-registry-prometheus" % micrometerVersion, |
A published advisory for either library raises no alert in this repository. All Dependabot pull requests so far are for the UI's npm packages, such as #1439. The repository has no .github/dependabot.yml and no workflow that submits sbt dependencies.
Describe the solution you would like
Add a workflow, .github/workflows/dependency-graph.yml, that submits the sbt dependency graph through GitHub's dependency submission API:
- Triggers:
pushtomainandworkflow_dispatch. - Permissions:
contents: write(the submission API needs it), nothing else. - Steps:
actions/checkout,actions/setup-javawith Temurin 17 (copy the pinned versions from thejava-fmtjob),sbt/setup-sbt, thenscalacenter/sbt-dependency-submission. - Pin every third-party action by commit hash with a version comment, as the other workflows do:
unitycatalog/.github/workflows/lint-check.yml
Lines 42 to 49 in 2f41e34
| - name: Checkout code | |
| uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1 | |
| - name: Set up JDK 17 | |
| uses: actions/setup-java@c1e323688fd81a25caa38c78aa6df2d33d3e20d9 # v4.8.0 | |
| with: | |
| java-version: '17' | |
| distribution: 'temurin' |
Keep the action's default configurations.
There is no sbt test for a workflow. Check it on your fork:
- Turn on the dependency graph in the fork's settings (Code security).
- Run the workflow from the Actions tab.
- Open Insights, then Dependency graph: it lists Maven packages such as
com.zaxxer:HikariCPandio.micrometer:micrometer-registry-prometheus.
Link the passing fork run in the pull request. Done when the workflow passes on main and the dependency graph lists the server's Maven dependencies.
Additional context
This issue covers only dependency alerts for sbt. Code and image scanning are separate work.
Activity
iam-hk commentedon Nov 17, 2026
take
Plan:
.github/workflows/dependency-graph.yml: triggers onpushtomainandworkflow_dispatch,contents: writeonly, stepsactions/checkout→actions/setup-java(Temurin 17, matching the pinned version inlint-check.yml'sjava-fmtjob) →sbt/setup-sbt→scalacenter/sbt-dependency-submission, every third-party action pinned by commit hash with a version comment.com.zaxxer:HikariCPandio.micrometer:micrometer-registry-prometheus. I'll link the passing fork run in the PR.iam-hk commentedon Nov 17, 2026
take
Plan:
.github/workflows/dependency-graph.yml: triggers onpushtomainandworkflow_dispatch,contents: writeonly, stepsactions/checkout→actions/setup-java(Temurin 17, matching the pinned version inlint-check.yml'sjava-fmtjob) →sbt/setup-sbt→scalacenter/sbt-dependency-submission, every third-party action pinned by commit hash with a version comment.com.zaxxer:HikariCPandio.micrometer:micrometer-registry-prometheus. I'll link the passing fork run in the PR.