Skip to content

Commit 2324b4b

Browse files
feat: add landscape cleanup action and prune orphaned logos
Signed-off-by: Ayush-Patel-56 <[email protected]>
1 parent c9c7282 commit 2324b4b

449 files changed

Lines changed: 156 additions & 32072 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/cleanup.yml

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
name: Landscape Cleanup
2+
3+
on:
4+
schedule:
5+
- cron: '0 0 * * 1' # Weekly on Monday
6+
workflow_dispatch:
7+
8+
permissions:
9+
contents: write
10+
pull-requests: write
11+
12+
jobs:
13+
cleanup:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- name: Checkout repository
17+
uses: actions/checkout@v3
18+
19+
- name: Set up Python
20+
uses: actions/setup-python@v4
21+
with:
22+
python-version: '3.10'
23+
24+
- name: Install dependencies
25+
run: |
26+
pip install -r scripts/requirements.txt
27+
28+
- name: Run cleanup script
29+
run: |
30+
python scripts/cleanup.py --fix
31+
32+
- name: Create Pull Request
33+
uses: peter-evans/create-pull-request@v5
34+
with:
35+
token: ${{ secrets.GITHUB_TOKEN }}
36+
commit-message: "chore: landscape cleanup (orphaned logos, normalization)"
37+
title: "chore: landscape cleanup"
38+
body: |
39+
Automated landscape cleanup.
40+
- Removed orphaned logo files.
41+
- Normalized logo paths in landscape.yml.
42+
branch: automated-cleanup
43+
base: master
44+
delete-branch: true

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,6 @@
1010

1111
# VIM swap files
1212
*.swp
13+
14+
.venv/
15+
__pycache__/

hosted_logos/1crew.svg

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

hosted_logos/4intelligence.svg

Lines changed: 0 additions & 148 deletions
This file was deleted.

hosted_logos/99-cloud-kcsp.svg

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

0 commit comments

Comments
 (0)