Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add todo-to-issue GitHub Action in order to add GitHub Issues from TODOs, etc. #152

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@

indent_size = 2
indent_style = tab
tab_width = 2
end_of_line = lf

[*.{yml,yaml}]
indent_style = space
16 changes: 16 additions & 0 deletions .github/workflows/todos-to-issues.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Create GitHub Issues from TODOs, FIXMEs, etc.

on:
push:
branches: ["main"]

jobs:
create_issues:
runs-on: ubuntu-latest
steps:
- uses: "actions/checkout@v3"
- name: "TODO to Issue"
# See https://github.com/marketplace/actions/todo-to-issue for more configuration options
uses: "alstr/todo-to-issue-action@v4"
with:
IDENTIFIERS: '[{"name": "TODO", "labels": ["help wanted"]}, {"name": "FIXME", "labels": ["bug"]}]'
3 changes: 3 additions & 0 deletions src/TagzApp.Common/Models/Content.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,10 @@ public class Content
/// <summary>
/// Id provided by the provider for this content
/// </summary>
// TODO: CS8618: Non-nullable field is uninitialized. Consider declaring as nullable.
#pragma warning disable CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable.
public string ProviderId { get; set; }
#pragma warning restore CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable.

public string HashtagSought { get; set; } = string.Empty;

Expand Down