blob: 4381b3ca9d7638ac7acf7fecf76259b8b1f6931c [file] [log] [blame]
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.
# push: Will move this to a cadence
# branches:
# - master
permissions:
issues: write
repository-projects: read
contents: read
jobs:
todos:
name: Scan for To-Dos
runs-on: ubuntu-latest
steps:
- uses: Wandalen/wretry.action@v1.0.36
name: Checkout
with:
action: actions/checkout@v3
with: |
token: ${{ github.token }}
attempt_limit: 3
attempt_delay: 2000
- name: Run Issue Bot
uses: derjuulsn/todo-issue@main
with:
# autoAssign: false
reopenClosed: false
# label: "todo"
# disabled until this works: https://github.com/DerJuulsn/todo-issue/issues/9
keywords: "todo,fixme,bug,TODO,FIXME,BUG"
excludePattern: "^(node_modules/|third_party/|zzz_generated/|docs/|.vscode/)"
env:
GITHUB_TOKEN: ${{ secrets.MATTER_PAT }}