mirror of
https://github.com/nubenetes/awesome-kubernetes.git
synced 2026-05-24 01:53:45 +00:00
feat(ops): fully integrate safety audits and UI sync check into GitHub Workflows
This commit is contained in:
4
.github/workflows/agentic_cron.yml
vendored
4
.github/workflows/agentic_cron.yml
vendored
@@ -96,6 +96,10 @@ jobs:
|
||||
pip install --no-cache-dir pydantic PyGithub aiohttp beautifulsoup4 httpx fake-useragent pytz python-dotenv twikit>=2.1.2 playwright playwright-stealth pyyaml
|
||||
playwright install chromium --with-deps
|
||||
|
||||
- name: Workflow UI Synchronization Check (Mandate 11)
|
||||
run: |
|
||||
python src/sync_workflow_ui.py
|
||||
|
||||
- name: Global Agentic Curation Execution
|
||||
id: run_curation
|
||||
env:
|
||||
|
||||
13
.github/workflows/agentic_v2_builder.yml
vendored
13
.github/workflows/agentic_v2_builder.yml
vendored
@@ -56,6 +56,11 @@ jobs:
|
||||
PYTHONPATH: .
|
||||
run: |
|
||||
python -u src/v2_optimizer.py
|
||||
if [ -f v2_safety_report.md ]; then
|
||||
cat v2_safety_report.md >> pr_description.md
|
||||
else
|
||||
echo "No safety report generated." > pr_description.md
|
||||
fi
|
||||
|
||||
- name: Create Pull Request for V2 Elite Update
|
||||
uses: peter-evans/create-pull-request@v6
|
||||
@@ -63,12 +68,6 @@ jobs:
|
||||
branch: bot/v2-elite-sync
|
||||
base: develop
|
||||
title: "V2 Elite: Agentic Optimization Sync (2026)"
|
||||
body: |
|
||||
This PR updates the Nubenetes V2 (Agentic Elite) edition.
|
||||
|
||||
The AI agent has scanned the V1 archive and selected the top-tier resources according to 2026 architectural standards.
|
||||
- GitHub Repos inactive for too long have been deprioritized.
|
||||
- Fundational 'Awesome' lists have been preserved.
|
||||
- Redundancy has been reduced to focus on innovation.
|
||||
body-path: pr_description.md
|
||||
commit-message: "feat: sync V2 elite curated edition"
|
||||
labels: "v2-elite, agentic-sync"
|
||||
|
||||
@@ -107,6 +107,15 @@ class V2VisionEngine:
|
||||
await self._sync_enterprise_navigation(v2_data)
|
||||
self._save_inventory()
|
||||
log_event("V2 ELITE PORTAL GENERATED SUCCESSFULLY.")
|
||||
|
||||
# --- FINAL SAFETY AUDIT ---
|
||||
try:
|
||||
from src.safety_guard import SafetyGuard
|
||||
guard = SafetyGuard()
|
||||
report = guard.generate_audit_report()
|
||||
with open("v2_safety_report.md", "w") as f: f.write(report)
|
||||
except Exception as e:
|
||||
log_event(f" [!] V2 Safety Audit Error: {e}")
|
||||
|
||||
async def _gather_all_v1_content(self):
|
||||
all_links, mosaic_html, videos_html = [], "", ""
|
||||
|
||||
Reference in New Issue
Block a user