This action calculate the amout of comments
// TODO
// FIXME
// @ts-ignore
/* FIXME */
/**
* TODO
*/and output in the comment, example:
| type | count |
|---|---|
| TODO | 1 |
| FIXME | 2 |
| @ts-ignore | 3 |
P.S. In version 1.0 it works only for languages where comments marks like this: // single line comment /* multiple line comment */.
steps:
- name: Checkout
id: checkout
uses: actions/checkout@v4
- name: Calculate tech dept
uses: mvxivy/[email protected]