Skip to content

Latest commit

 

History

History
38 lines (26 loc) · 1.79 KB

File metadata and controls

38 lines (26 loc) · 1.79 KB

find-critical-todos

Looks for critical TODOs - that is, instances of the TODO! string - in source files.

Example

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.

Inputs 📥

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

Outputs 📤

Name Type Description Example
found boolean true if at least one TODO! was found in some file, false otherwise false

Further references