Skip to content

[docs-only] Update the check-env-var-annotation script#12120

Merged
mmattel merged 1 commit intomasterfrom
update_envvar_check_script
Mar 17, 2026
Merged

[docs-only] Update the check-env-var-annotation script#12120
mmattel merged 1 commit intomasterfrom
update_envvar_check_script

Conversation

@mmattel
Copy link
Copy Markdown
Contributor

@mmattel mmattel commented Mar 16, 2026

Identified by @2403905 while working on #12108

When a new envvar is introduced, we have a rule that the introductionVersion needs to be populated.
The dev docs have a description for this and a one liner "rule guide" - but this can be overseen easily or forgotten.

When CI runs, there is a step at the very beginning to check if envvar descriptions or introduction version texts meet the requirement. But if there is an error detected, it only prints out that it did not pass on the particular envvar but does not give any hint about the rules.

This PR fixes this by updating the envvar checking script that prints out go/nogo examples in case of errors identified for ease of fixing.

@2403905 I have tested the script using a local clone of #12108 in a state where CI complained.

@mmattel mmattel requested review from 2403905, kobergj and mklos-kw March 16, 2026 13:02
@mmattel mmattel force-pushed the update_envvar_check_script branch from f643a50 to 7087d77 Compare March 16, 2026 15:20
@sonarqubecloud
Copy link
Copy Markdown

@mmattel mmattel enabled auto-merge March 16, 2026 17:01
@mmattel mmattel merged commit be86a95 into master Mar 17, 2026
4 checks passed
@mmattel mmattel deleted the update_envvar_check_script branch March 17, 2026 11:29
ownclouders pushed a commit that referenced this pull request Mar 17, 2026
[docs-only] Update the check-env-var-annotation script
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants