feat(ops): add intelligent link cleaner and deduplicator with playwright and gemini

This commit is contained in:
Nubenetes Bot
2026-05-08 19:44:03 +02:00
parent 7db423b15d
commit bd1fc94497
2 changed files with 283 additions and 0 deletions

View File

@@ -0,0 +1,36 @@
name: Nubenetes Intelligent Link Cleaner & Dedup
on:
schedule:
- cron: '0 0 1 * *' # Mensual (el día 1 de cada mes)
workflow_dispatch:
permissions:
contents: write
pull-requests: write
jobs:
intelligent-clean-process:
runs-on: ubuntu-latest
steps:
- name: Sincronización del repositorio
uses: actions/checkout@v4
- name: Provisión del Entorno Python 3.11
uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Instalación de dependencias y Playwright
run: |
python -m pip install --upgrade pip
pip install --no-cache-dir pydantic PyGithub aiohttp beautifulsoup4 httpx fake-useragent pytz python-dotenv playwright
playwright install chromium --with-deps
- name: Ejecución de la Limpieza Inteligente Global
env:
GEMINI_API_KEY: ${{ secrets.GEMINI_API_KEY }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PYTHONPATH: .
run: |
python src/intelligent_health_checker.py