Skip to content

docs: improve CLOMonitor contributing detection and dependency policy#144

Closed
kubeboiii wants to merge 1 commit into
volcano-sh:masterfrom
kubeboiii:docs/clomonitor-community-5366
Closed

docs: improve CLOMonitor contributing detection and dependency policy#144
kubeboiii wants to merge 1 commit into
volcano-sh:masterfrom
kubeboiii:docs/clomonitor-community-5366

Conversation

@kubeboiii

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 volcano-sh/volcano#5366 (improve CLOMonitor score). It addresses community repository items from that issue:

  • Contributing guide detection: Add CONTRIBUTING.md as a pointer to contribute.md. Rename the README section to Contributing so CLOMonitor can detect it.
  • Dependency management policy: Add dependency-management.md describing how Volcano declares, updates, and reports on dependencies. This file is intended to be linked from SECURITY-INSIGHTS.yml in the main repo for the CLOMonitor dependencies_policy check.

Docs-only change in volcano-sh/community. Does not overlap with volcano-sh/volcano#5369, #5370, #5371, or volcano-sh/website#517.

Follow-up for full dependencies_policy pass: Please add dependencies.env-dependencies-policy.policy-url in volcano-sh/volcano#5367 (or a follow-up) pointing at https://github.com/volcano-sh/community/blob/master/dependency-management.md.

The summary table CLOMonitor check still requires summary_* fields in cncf/landscape (not this repo).

Which issue(s) this PR fixes:

Part of volcano-sh/volcano#5366

Special notes for your reviewer:

  • No workflow, Go, or runtime changes.
  • After merge, CLOMonitor checks on this repo may take up to about an hour to refresh.
  • dependencies_policy on the Volcano project will not pass until the Security Insights URL above is merged in volcano-sh/volcano.

Does this PR introduce a user-facing change?

NONE

@volcano-sh-bot

Copy link
Copy Markdown
Collaborator

@kubeboiii: The label(s) kind/documentation cannot be applied, because the repository doesn't have them.

Details

In response to this:

What type of PR is this?

/kind documentation

What this PR does / why we need it:

This PR is part of the work for volcano-sh/volcano#5366 (improve CLOMonitor score). It addresses community repository items from that issue:

  • Contributing guide detection: Add CONTRIBUTING.md as a pointer to contribute.md. Rename the README section to Contributing so CLOMonitor can detect it.
  • Dependency management policy: Add dependency-management.md describing how Volcano declares, updates, and reports on dependencies. This file is intended to be linked from SECURITY-INSIGHTS.yml in the main repo for the CLOMonitor dependencies_policy check.

Docs-only change in volcano-sh/community. Does not overlap with volcano-sh/volcano#5369, #5370, #5371, or volcano-sh/website#517.

Follow-up for full dependencies_policy pass: Please add dependencies.env-dependencies-policy.policy-url in volcano-sh/volcano#5367 (or a follow-up) pointing at https://github.com/volcano-sh/community/blob/master/dependency-management.md.

The summary table CLOMonitor check still requires summary_* fields in cncf/landscape (not this repo).

Which issue(s) this PR fixes:

Part of volcano-sh/volcano#5366

Special notes for your reviewer:

  • No workflow, Go, or runtime changes.
  • After merge, CLOMonitor checks on this repo may take up to about an hour to refresh.
  • dependencies_policy on the Volcano project will not pass until the Security Insights URL above is merged in volcano-sh/volcano.

Does this PR introduce a user-facing change?

NONE

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@volcano-sh-bot

Copy link
Copy Markdown
Collaborator

[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 thor-wl 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

Copy link
Copy Markdown
Collaborator

Welcome @kubeboiii! It looks like this is your first PR to volcano-sh/community 🎉

@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 new CONTRIBUTING.md file, adds a comprehensive dependency-management.md policy document, and updates a heading in README.md. The reviewer provided several actionable suggestions to improve documentation navigation by linking directly to specific section anchors in referenced markdown files (such as compliance.md, contribute.md, and SECURITY.md).

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 dependency-management.md Outdated

- Go modules in `go.mod` and `go.sum` are the source of truth for Volcano core dependencies.
- Staging API dependencies are declared in `staging/src/volcano.sh/apis/go.mod` and `go.sum`.
- Contributors must follow the [license compliance rules](compliance.md) when adding or updating dependencies.

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

medium

To improve user navigation, consider linking directly to the #rules anchor in compliance.md instead of the top of the document. This matches the linking pattern used in contribute.md.

Suggested change
- Contributors must follow the [license compliance rules](compliance.md) when adding or updating dependencies.
- Contributors must follow the [license compliance rules](compliance.md#rules) when adding or updating dependencies.

Comment thread dependency-management.md Outdated
## Updating dependencies

- [Dependabot](https://github.com/volcano-sh/volcano/blob/master/.github/dependabot.yml) proposes updates to Go modules and GitHub Actions dependencies.
- Maintainers review and merge dependency update pull requests using the normal [contribution workflow](contribute.md).

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

medium

Consider linking directly to the #contributor-workflow section in contribute.md to guide the reader directly to the relevant workflow details.

Suggested change
- Maintainers review and merge dependency update pull requests using the normal [contribution workflow](contribute.md).
- Maintainers review and merge dependency update pull requests using the normal [contribution workflow](contribute.md#contributor-workflow).

Comment thread dependency-management.md Outdated

## License and compliance

- Allowed and restricted licenses are defined in [compliance.md](compliance.md).

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

medium

Consider linking directly to the #license-compliance-check section in compliance.md where allowed and restricted licenses are defined.

Suggested change
- Allowed and restricted licenses are defined in [compliance.md](compliance.md).
- Allowed and restricted licenses are defined in [compliance.md](compliance.md#license-compliance-check).

Comment thread dependency-management.md Outdated

## Security vulnerabilities in dependencies

- Report security issues privately as described in [SECURITY.md](SECURITY.md).

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

medium

Consider linking directly to the #private-disclosure-processes section in SECURITY.md so that readers can immediately see how to report security issues privately.

Suggested change
- Report security issues privately as described in [SECURITY.md](SECURITY.md).
- Report security issues privately as described in [SECURITY.md](SECURITY.md#private-disclosure-processes).

Part of volcano-sh/volcano#5366. Add CONTRIBUTING.md pointer, README
Contributing section, and dependency-management.md for Security Insights.

Signed-off-by: kubeboiii <kubeboiii@users.noreply.github.com>
@kubeboiii kubeboiii force-pushed the docs/clomonitor-community-5366 branch from ea8830a to 38cf25c Compare June 3, 2026 13:28
@kubeboiii

Copy link
Copy Markdown
Author

DCO sign-off added on the latest commit (Signed-off-by: kubeboiii).

Also applied the suggested section anchors in dependency-management.md (compliance.md#rules, compliance.md#license-compliance-check, contribute.md#contributor-workflow, SECURITY.md#private-disclosure-processes).

Ready for review. Thanks!

@JesseStutler

Copy link
Copy Markdown
Member

Thanks for your PR, but I have already work on this in the security team PR: https://github.com/JesseStutler/community/blob/ae9be9ee4e53458bb1f1f505daa8be9fc7d967e1/security-team/SECURITY.md#dependencies-policy, and we're going to add it as a small section in the SECURITY.md, don't need to be so complicating

@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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants