Early sketch of a tool for automatic creation of todo lists from source code via github actions.
Create a file like run-main.yml
and paste the following contents to it
name: run-main-inside-todo-script
on:
push:
branches:
- 'main'
permissions:
contents: write
issues: write
jobs:
run-script:
runs-on: ubuntu-latest
steps:
- name: Checkout own repo
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: 3.13
- name: Run todo_script.sh
run: bash .github/workflows/todo-extractor/todo_script.sh
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- 2 files to do.
- 4 expressions matched.
- 46: 'todo!("Consider writing docs...")'
- 5: '// TODO: FIXME'
- 6: '// FIXME: TODO'
- 7: 'todo!("TODO FIXME")'
-4032