10u-labs/Contains Snippet
Check if a snippet exists in target files
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Maintainedlast commit Jan 8, 2026
- License
- Apache 2.0
Pinned Snippet
uses: 10u-labs/contains-snippet@98739047afc9156817b9bea3a40b06aa322a646f # v20260108014512tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| comment-prefix | Force commented matching with this prefix | no | — |
| comment-prefix-map | Override extension mapping (e.g., .js=//,.ts=//) | no | — |
| files | Target files to check (space-separated) | yes | — |
| infer-comment-prefix | Infer comment prefix from file extension | no | false |
| snippet-file | Path to file containing the snippet | yes | — |
Outputs
no outputs