Skip to content

Parser integration for monitors #197

Parser integration for monitors

Parser integration for monitors #197

Workflow file for this run

name: TODO to Issue Manager
on:
push:
branches:
- main
permissions:
contents: write
issues: write
jobs:
manage-todos:
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, '[skip ci]')"
steps:
- name: Checkout Repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install uv
uses: astral-sh/setup-uv@v5
with:
enable-cache: true
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version-file: ".python-version"
- name: Install dependencies
run: uv sync
- name: Run TODO Manager
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_REPOSITORY: ${{ github.repository }}
run: |
cd ${{ github.workspace }}
uv run python -m todo_action
- name: Commit and Push Changes
run: |
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]"
git add .
if ! git diff-index --quiet HEAD; then
git commit -m "chore: auto-update TODOs and tracker [skip ci]"
git push
else
echo "No TODOs to update or track. Skipping commit."
fi