Skip to content

Commit 64dddc8

Browse files
committed
Add TODO bot
1 parent 4952e1a commit 64dddc8

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

.github/workflows/todo.yml

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: "Run TODO to Issue"
2+
on:
3+
push:
4+
workflow_dispatch:
5+
inputs:
6+
MANUAL_COMMIT_REF:
7+
description: "The SHA of the commit to get the diff for"
8+
required: true
9+
MANUAL_BASE_REF:
10+
description: "By default, the commit entered above is compared to the one directly before it; to go back further, enter an earlier SHA here"
11+
required: false
12+
13+
jobs:
14+
build:
15+
runs-on: "ubuntu-latest"
16+
steps:
17+
- uses: "actions/checkout@v3"
18+
- name: "TODO to Issue"
19+
uses: "alstr/todo-to-issue-action@v4"
20+
with:
21+
IDENTIFIERS: '[{"name": "TODO", "labels": []}, {"name": "FIXME", "labels": ["bug"]}]'
22+
ISSUE_TEMPLATE: "TODO: {{ title }}\n\n{{ body }}\n\n{{ url }}\n\n"
23+
env:
24+
MANUAL_COMMIT_REF: ${{ inputs.MANUAL_COMMIT_REF }}
25+
MANUAL_BASE_REF: ${{ inputs.MANUAL_BASE_REF }}

0 commit comments

Comments
 (0)