omikkel/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: omikkel/find-occurences@02a02745335f294396835361aea3f2137090d7ab # v1tags 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 |