actions-marketplace-validations/Find Occurences of search-term in files
Ensure no occurences of search-term is left in the code
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stalelast commit Sep 2, 2022
- License
- None
- Runtime
- Deprecated runtime
Pinned Snippet
uses: actions-marketplace-validations/omikkel_find-occurences@cf2051f34f21c03545aea28da0c55889302a32f4 # no releases — HEAD as of 2026-07-10tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| before | Sha/ref before the change | no | "" |
| after | Sha/ref of the change | no | "" |
| search-term | What to search for | no | console.log|console.error |
| file-types | File types to check for the search-term | no | (.ts|.js|.tsx|.jsx)$ |
| should-fail | Should the action fail if the search-term is found | no | true |
| check-all | Should the action check all files or only the changed ones | no | false |
| check-all-exclude | Files to exclude from the check-all check | no | :!:node_modules/* |
Outputs
| name | description |
|---|---|
| occurences-count | Number of occurences found |
| occurences | String of occurences found |
| checked-files | String of checked files |