Add todo-to-issue GitHub Action in order to add GitHub Issues from TODOs, etc. #152
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I have found a GitHub Action (
alstr/todo-to-issue-action
) that finds TODOs, FIXMEs, etc in coding files and creates GitHub Issues.What
todo-to-issue-action
does:This action needs the
Workflow permissions
settingRead and Write permissions
underSettings => Actions => General
set in order to be allowed to create issues!Before (or shortly after the merge) the action needs to be updated to point to the main branch (or whatever condition) in order to look at the main branch for TODOs on pushes.
When the TODO, etc. is removed the Issue is closed automatically. This can be configured. The automatic labeling (
Fix me
,Help Wanted
, etc.) of issues also can be configured.As an example on how to use it, I added a TODO in src/TagzApp.Common/Models/Content.cs. In my testing in my forked repo this worked. This is the Issue it created for #2!
I also added an
.editorconfig
that sets spaces as intentation for.yml
files in the root directory.Next Step: