Initial Coworker app scaffold
This commit is contained in:
27
.gitea/workflows/repo-cleanup.yml
Normal file
27
.gitea/workflows/repo-cleanup.yml
Normal file
@@ -0,0 +1,27 @@
|
||||
name: Scheduled Repository Cleanup Check
|
||||
|
||||
on:
|
||||
schedule:
|
||||
- cron: "43 3 * * 1"
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
cleanup-check:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Report generated files
|
||||
run: |
|
||||
find . -path ./.git -prune -o \( -name node_modules -o -name dist -o -name dist-electron -o -name release -o -name coverage \) -print
|
||||
|
||||
- name: Report large tracked files
|
||||
run: |
|
||||
git ls-files -z | xargs -0 du -h | awk '$1 ~ /[0-9]+M/ { print }' || true
|
||||
|
||||
- name: Verify ignored local outputs
|
||||
run: |
|
||||
grep -q "node_modules/" .gitignore
|
||||
grep -q "release/" .gitignore
|
||||
grep -q ".env" .gitignore
|
||||
Reference in New Issue
Block a user