name: Repository Cleanup Report

on:
  schedule:
    - cron: "29 4 * * 2"
  workflow_dispatch:

jobs:
  report:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout
        uses: actions/checkout@v4

      - name: Report generated files
        run: |
          find . -maxdepth 3 \( -path "./node_modules" -o -path "./.next" -o -path "./coverage" -o -path "./dist" \) -print

      - name: Report large files
        run: |
          find . -type f -size +10M -not -path "./.git/*" -print
