From 40754886111b00ce39873721f845afc52b4b1834 Mon Sep 17 00:00:00 2001 From: Justin Wood Date: Mon, 24 Jan 2022 22:46:53 -0800 Subject: [PATCH] Create todos.yaml --- .github/workflows/todos.yaml | 38 ++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 .github/workflows/todos.yaml diff --git a/.github/workflows/todos.yaml b/.github/workflows/todos.yaml new file mode 100644 index 00000000000000..d79276cfd4f9f5 --- /dev/null +++ b/.github/workflows/todos.yaml @@ -0,0 +1,38 @@ +name: Create issues from To-Dos + +on: + workflow_dispatch: + inputs: + importAll: + default: 'false' + required: false + type: boolean + description: Enable, if you want to import all TODOs. Runs on checked out branch! Only use if you're sure what you are doing. +# Disabled until I can bootstrap the main ones +# push: +# branches: # do not set multiple branches, todos might be added and then get referenced by themselves in case of a merge +# - main +# - master + +permissions: + issues: write + repository-projects: read + contents: read + +jobs: + todos: + name: Scan for To-Dos + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + - name: Run Issue Bot + uses: derjuulsn/todo-issue@main + with: + autoAssign: false +# Label disabled until this works: https://github.com/DerJuulsn/todo-issue/issues/9 +# label: "todo" + keywords: "todo,fixme,bug,TODO,FIXME,BUG" + excludePattern: '^(node_modules/|third_party/|zzz_generated/|docs/|.vscode/)' + env: + GITHUB_TOKEN: ${{ secrets.MATTER_PAT }}