Skip to content

Conversation

@kash2104
Copy link

@kash2104 kash2104 commented Dec 15, 2025

What kind of change does this PR introduce?

This PR updates DefaultCIIBestPracticesClient to support configuring the CII Best Practices base URL via an environment variable.

(Is it a bug fix, feature, docs update, something else?)
feature

What is the current behavior?

DefaultCIIBestPracticesClient always uses the hard-coded URL https://www.bestpractices.dev when querying CII Best Practices badge data.

What is the new behavior (if this is a feature change)?**

If the CII_BEST_PRACTICES_URL environment variable is set, DefaultCIIBestPracticesClient will use it as the base URL.
If not set, the client falls back to the existing default URL.

  • Tests for the changes have been added (for bug fixes/features)

Which issue(s) this PR fixes

Fixes #4315

Special notes for your reviewer

Does this PR introduce a user-facing change?

No

For user-facing changes, please add a concise, human-readable release note to
the release-note

(In particular, describe what changes users might need to make in their
application as a result of this pull request.)

@kash2104 kash2104 requested a review from a team as a code owner December 15, 2025 16:23
@kash2104 kash2104 requested review from AdamKorcz and jeffmendoza and removed request for a team December 15, 2025 16:23
@dosubot dosubot bot added the size:M This PR changes 30-99 lines, ignoring generated files. label Dec 15, 2025
@kash2104 kash2104 force-pushed the issue-4315 branch 2 times, most recently from 255b563 to 4c0f768 Compare December 15, 2025 18:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:M This PR changes 30-99 lines, ignoring generated files.

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

Feature: Check custom CII Best Practices URL

1 participant