Skip to content

Commit

Permalink
Add todo-to-issue GitHub Action in order to add GitHub Issues from TO…
Browse files Browse the repository at this point in the history
…DOs, etc. (#152)

Co-authored-by: Jeffrey T. Fritz <csharpfritz@users.noreply.github.com>
  • Loading branch information
Stelzi79 and csharpfritz authored Sep 5, 2023
1 parent 9b6806d commit 187a5b4
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 0 deletions.
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

0 comments on commit 187a5b4

Please sign in to comment.