codmughees/envradar

Detect undocumented, unused, and drifting environment variables in a repository.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit Apr 7, 2026
License
MIT

Pinned Snippet

workflow.ymlSHA-pinned
uses: codmughees/envradar@3b88a5835c82178df13963cbccedf234eb90cc13 # v1

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
pathPath inside the checked-out repository to scan.no.
configOptional path to envradar.yml or .envradar.yml.no""
report-formatOutput format for logs and optional report files. One of text, markdown, or json.notext
report-fileOptional path, relative to the scanned directory, where a report should be written.no""
write-exampleOptional path, relative to the scanned directory, where a generated .env.example should be written.no""
write-docsOptional path, relative to the scanned directory, where markdown docs should be written.no""
fail-on-findingsFail the action when missing, stale, or undocumented local variables are found.nofalse
summaryAppend a markdown report to the GitHub job summary.notrue
annotationsEmit GitHub annotations for findings.notrue
python-versionPython version used to run envradar.no3.11
namedescription
scanned-filesNumber of files scanned.
required-runtime-countNumber of runtime variables detected in code and compose files.
documented-countNumber of documented variables detected in example files.
strict-findingsNumber of strict findings.
missing-countNumber of variables missing from documented examples.
unused-countNumber of documented variables that are no longer used.
local-only-countNumber of local-only variables not present in documented examples.
workflow-only-countNumber of variables that only appear in workflow files.
has-findingsWhether strict findings were detected.
report-pathAbsolute path to a generated report file, when report-file is used.
example-pathAbsolute path to a generated .env.example file, when write-example is used.
docs-pathAbsolute path to a generated docs file, when write-docs is used.
config-pathAbsolute path to the config file that was loaded, when present.