Skip to content

Create overview_template.md #36

Create overview_template.md

Create overview_template.md #36

Workflow file for this run

name: Find Class Ruining Issues
on:
push:
branches:
- v2.0.0-DEV
jobs:
cleanup:
runs-on: ubuntu-latest
permissions:
contents: write # 🔑 Needed to allow pushing changes
steps:
- name: Checkout repo
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
# Skip installing dependencies if no requirements.txt is found
- name: Install dependencies (if available)
run: |
if [ -f "requirements.txt" ]; then
pip install -r requirements.txt
else
echo "No requirements.txt found, skipping installation."
fi
- name: Run cleanup script
run: python ./scripts/LocateIssues.py
- name: Configure Git identity
run: |
git config user.name "GitHub Actions"
git config user.email "github-actions[bot]@users.noreply.github.com"
- name: Commit changes
run: |
git add -A
if git diff --cached --quiet; then
echo "No changes to commit"
else
git commit -m "Auto cleanup commit"
git push
fi
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}