Looks for critical TODOs - that is, instances of the TODO!
string - in source files.
steps:
- uses: giancosta86/aurora-github/actions/find-critical-todos@v4
with:
source-file-regex: \.(js|ts)x?$
Please, note: this action is automatically run by verify-rust-crate and verify-npm-package.
Name | Type | Description | Default value |
---|---|---|---|
source-file-regex |
string | The PCRE pattern of source file names, for the find command |
|
crash-on-found |
boolean | If true, exits with error when critical TODOs are found | true |
display-lines |
boolean | Display the lines with critical TODOs | true |
root-directory |
string | The root of the directory tree | . |
shell |
string | The shell used to run commands | bash |
Name | Type | Description | Example |
---|---|---|---|
found |
boolean | true if at least one TODO! was found in some file, false otherwise |
false |