Skip to content

clomonitor: expose license scanning for CLOMonitor#5370

Closed
kubeboiii wants to merge 1 commit into
volcano-sh:masterfrom
kubeboiii:fix/clomonitor-license-scanning
Closed

clomonitor: expose license scanning for CLOMonitor#5370
kubeboiii wants to merge 1 commit into
volcano-sh:masterfrom
kubeboiii:fix/clomonitor-license-scanning

Conversation

@kubeboiii

@kubeboiii kubeboiii commented Jun 3, 2026

Copy link
Copy Markdown

What type of PR is this?

/kind documentation

What this PR does / why we need it:

This PR is part of the work for #5366 (improve CLOMonitor score). It addresses license scanning detection on the issue.

Volcano already runs FOSSA in .github/workflows/fossa.yml. CLOMonitor does not infer CI workflows automatically. This adds root .clomonitor.yml with licenseScanning.url pointing at that workflow on master, per CLOMonitor metadata.

No workflow, Go, or runtime changes.

Does not overlap with #5367 (Security Insights + SBOM) or #5369 (contributing guide and workflow permissions).

Which issue(s) this PR fixes:

Part of #5366

Special notes for your reviewer:

  • Tested: .clomonitor.yml YAML parse; make verify passed locally (macOS).
  • No Go/runtime behavior changes. FOSSA CI is unchanged.
  • After merge, license_scanning on clomonitor.io may take up to about an hour to refresh. If the check still fails, we can add a FOSSA README badge when a project URL is available.

Does this PR introduce a user-facing change?

NONE

Point licenseScanning.url at the FOSSA GitHub Actions workflow on master
so CLOMonitor can detect existing license scans (issue 5366).

Signed-off-by: Himanshu <144804569+kubeboiii@users.noreply.github.com>
Copilot AI review requested due to automatic review settings June 3, 2026 11:28
@volcano-sh-bot volcano-sh-bot added the kind/documentation Categorizes issue or PR as related to documentation. label Jun 3, 2026
@volcano-sh-bot

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign hwdef for approval. For more information see the Kubernetes Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@volcano-sh-bot volcano-sh-bot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Jun 3, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Note

Copilot was unable to run its full agentic suite in this review.

Adds CLOMonitor metadata configuration so the project can surface license-scanning information via CLOMonitor.

Changes:

  • Introduces .clomonitor.yml with licenseScanning metadata.
  • Links to the repository’s GitHub Actions FOSSA workflow as the license scanning source.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .clomonitor.yml
Comment on lines +5 to +6
# FOSSA analysis runs on PRs and master via .github/workflows/fossa.yml
url: https://github.com/volcano-sh/volcano/actions/workflows/fossa.yml?query=branch%3Amaster

@gemini-code-assist gemini-code-assist Bot 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.

Code Review

This pull request introduces a .clomonitor.yml metadata file to configure license scanning. However, the review feedback correctly points out that the licenseScanning key is not supported by the CLOMonitor metadata schema and suggests valid alternatives, such as adding a FOSSA badge to the README or utilizing a .fossa.yml configuration file.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

Comment thread .clomonitor.yml
Comment thread .clomonitor.yml

licenseScanning:
# FOSSA analysis runs on PRs and master via .github/workflows/fossa.yml
url: https://github.com/volcano-sh/volcano/actions/workflows/fossa.yml?query=branch%3Amaster

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I think we should add the fossa badge in the README instead, not linked it to the github workflow action page, followed clomonitor requirement: https://clomonitor.io/docs/topics/checks/#license-scanning

@JesseStutler

Copy link
Copy Markdown
Member

/hold
Thanks for your contribution, but I found that our current fossa workflow is not correct and needs to be refactored: #5374

After we pass the fossa we can move forward it, I don't want to show failing fossa badge in the page currently

@volcano-sh-bot volcano-sh-bot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Jun 4, 2026
@kubeboiii kubeboiii closed this Jun 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. kind/documentation Categorizes issue or PR as related to documentation. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants