atrtde/Todo Tree Action

Scans PRs for TODO comments and posts them as a comment

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit Jul 13, 2026
License
GPL 3.0

Pinned Snippet

workflow.ymlSHA-pinned
uses: atrtde/todo-tree-action@8bdd430f0ae8bfa8fdb977a669ebf35050ed9f22 # v1.0.5

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
github-tokenGitHub token for posting commentsyes${{ github.token }}
pathPath to scanno.
tagsComma-separated tags to search for (e.g., TODO,FIXME,BUG,HACK)noTODO,FIXME,BUG
include-patternsComma-separated file patterns to include (e.g., *.rs,*.ts)no""
exclude-patternsComma-separated file patterns to exclude (e.g., *.min.js,vendor/**)no""
changed-onlyOnly scan files changed in this PRnofalse
new-onlyOnly show NEW TODOs (not present in base branch)nofalse
fail-on-todosFail the action if any TODOs are foundnofalse
fail-on-fixmeFail the action if FIXME or BUG comments are foundnofalse
max-todosMaximum number of TODOs allowed before failing (empty = unlimited)no""
show-annotationsShow TODOs as GitHub annotations on the filesnotrue
max-annotationsMaximum number of annotations to show (GitHub limit is 50)no50
post-commentPost a summary comment on the PRnotrue
comment-headerCustom header for the PR commentno## Todo Tree Summary
namedescription
totalTotal number of TODOs found
files_countNumber of files containing TODOs
has_todosWhether any TODOs were found (true/false)
jsonFull JSON output from todo-tree