Skip to content

Commit 9f1740f

Browse files
committed
new action added for cleaning the repo
1 parent c1b3b43 commit 9f1740f

File tree

27 files changed

+56
-210
lines changed

27 files changed

+56
-210
lines changed

.github/workflows/cleanup.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Cleanup Unused Files
2+
3+
on:
4+
push:
5+
6+
jobs:
7+
cleanup:
8+
runs-on: ubuntu-latest
9+
10+
steps:
11+
- name: Checkout repository
12+
uses: actions/checkout@v4
13+
14+
- name: Set up Python
15+
uses: actions/setup-python@v5
16+
with:
17+
python-version: '3.12' # Adjust if your script needs a specific version
18+
19+
- name: Run cleanup script
20+
run: python cleanup.py
21+
22+
- name: Commit and push changes
23+
run: |
24+
git config user.name "GitHub Actions"
25+
git config user.email "actions@github.com"
26+
git add -u
27+
git commit -m "Auto-cleanup: removed tmp/tnp files and unreferenced lab markdowns" || echo "No changes to commit"
28+
git push

Lab01.3/tmp

Lines changed: 0 additions & 1 deletion
This file was deleted.

Lab01.4/tmp

Lines changed: 0 additions & 1 deletion
This file was deleted.

Lab01.5/tmp

Lines changed: 0 additions & 1 deletion
This file was deleted.

Lab06.1/tmp

Lines changed: 0 additions & 1 deletion
This file was deleted.

Lab06.10/tmp

Lines changed: 0 additions & 1 deletion
This file was deleted.

Lab06.11/tmp

Lines changed: 0 additions & 1 deletion
This file was deleted.

Lab06.12/tmp

Lines changed: 0 additions & 1 deletion
This file was deleted.

Lab06.13/tmp

Lines changed: 0 additions & 1 deletion
This file was deleted.

Lab06.2/tmp

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)