mirror of
https://github.com/nubenetes/awesome-kubernetes.git
synced 2026-05-23 17:43:16 +00:00
feat(ops): add intelligent link cleaner and deduplicator with playwright and gemini
This commit is contained in:
36
.github/workflows/intelligent_link_cleaner.yml
vendored
Normal file
36
.github/workflows/intelligent_link_cleaner.yml
vendored
Normal 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
|
||||
Reference in New Issue
Block a user