little refactoring underway #37
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Create issues from TODOs | |
on: | |
workflow_dispatch: | |
inputs: | |
importAll: | |
default: true | |
required: true | |
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: | |
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: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Run Issue Bot | |
uses: derjuulsn/todo-issue@main | |
with: | |
excludePattern: '^(node_modules/)' | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |