Skip to content

Commit f2b2e99

Browse files
authored
Merge pull request #40 from NullTrace-Security/v2.0.0-DEV
V2.0.0 dev
2 parents eeb46aa + cbf6632 commit f2b2e99

File tree

186 files changed

+2113
-3880
lines changed

Some content is hidden

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

186 files changed

+2113
-3880
lines changed

.github/workflows/LocateIssues.yml

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
name: Find Class Ruining Issues
2+
3+
on:
4+
push:
5+
branches:
6+
- v2.0.0-DEV
7+
8+
jobs:
9+
cleanup:
10+
runs-on: ubuntu-latest
11+
12+
permissions:
13+
contents: write # 🔑 Needed to allow pushing changes
14+
15+
steps:
16+
17+
- name: Checkout repo
18+
uses: actions/checkout@v4
19+
with:
20+
fetch-depth: 0
21+
22+
- name: Set up Python
23+
uses: actions/setup-python@v5
24+
with:
25+
python-version: '3.11'
26+
27+
# Skip installing dependencies if no requirements.txt is found
28+
- name: Install dependencies (if available)
29+
run: |
30+
if [ -f "requirements.txt" ]; then
31+
pip install -r requirements.txt
32+
else
33+
echo "No requirements.txt found, skipping installation."
34+
fi
35+
36+
- name: Run PopulateNavigationLinks script
37+
run: python ./scripts/PopulateNavigationLinks.py
38+
39+
- name: Run PopulateNextandPrev script
40+
run: python ./scripts/PopulateNextandPrev.py
41+
42+
- name: Run cleanup script
43+
run: python ./scripts/LocateIssues.py
44+
45+
- name: Configure Git identity
46+
run: |
47+
git config user.name "GitHub Actions"
48+
git config user.email "github-actions[bot]@users.noreply.github.com"
49+
50+
- name: Commit changes
51+
run: |
52+
git add -A
53+
if git diff --cached --quiet; then
54+
echo "No changes to commit"
55+
else
56+
git commit -m "Auto cleanup commit"
57+
git push
58+
fi
59+
env:
60+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@ bin
55
lib
66
lib64
77
share
8+
pyvenv.cfg

CODE_OF_CONDUCT.md

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

Lab02.1/app.py

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

Lab02.1/framework.py

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

Lab02.1/requirements.txt

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

0 commit comments

Comments
 (0)