10u-labs/Contains Snippet

Check if a snippet exists in target files

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Maintainedlast commit Jan 8, 2026
License
Apache 2.0

Pinned Snippet

workflow.ymlSHA-pinned
uses: 10u-labs/contains-snippet@98739047afc9156817b9bea3a40b06aa322a646f # v20260108014512

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

namedescriptionrequireddefault
comment-prefixForce commented matching with this prefixno
comment-prefix-mapOverride extension mapping (e.g., .js=//,.ts=//)no
filesTarget files to check (space-separated)yes
infer-comment-prefixInfer comment prefix from file extensionnofalse
snippet-filePath to file containing the snippetyes

no outputs