From bac19da418978a46af2864317709b0a4b618cb72 Mon Sep 17 00:00:00 2001 From: Nubenetes Bot Date: Fri, 22 May 2026 19:34:35 +0200 Subject: [PATCH] fix: switch Video Hub Builder to PR model and include extraction dependencies --- .github/workflows/agentic_v2_videos.yml | 27 +++++++++++++------------ 1 file changed, 14 insertions(+), 13 deletions(-) diff --git a/.github/workflows/agentic_v2_videos.yml b/.github/workflows/agentic_v2_videos.yml index c2c9472b..db1eec8a 100644 --- a/.github/workflows/agentic_v2_videos.yml +++ b/.github/workflows/agentic_v2_videos.yml @@ -55,7 +55,7 @@ jobs: - name: Dependency Installation run: | python -m pip install --upgrade pip - pip install pyyaml httpx tenacity pytz python-dotenv + pip install pyyaml httpx tenacity pytz python-dotenv yt-dlp youtube-transcript-api - name: Execute Video Hub Enrichment env: @@ -70,18 +70,19 @@ jobs: export PYTHONPATH=$PYTHONPATH:. python src/v2_video_portal.py - - name: Commit and Push Changes - run: | - git config --global user.name "Nubenetes Bot" - git config --global user.email "bot@nubenetes.com" - git add v2-docs/videos.md data/inventory.yaml - if git diff --staged --quiet; then - echo "No changes to commit." - else - git commit -m "docs: automated V2 video hub update [skip ci]" - git pull --rebase origin develop - git push origin develop - fi + - name: Create Pull Request for Video Hub Update + uses: peter-evans/create-pull-request@v8 + with: + branch: bot/v2-video-sync + base: develop + title: "V2 Content: Video Hub Enrichment Sync" + commit-message: "docs: update Video Hub with high-fidelity metadata [skip ci]" + labels: "v2-content, video-hub" + body: | + Automated update of the V2 Video Hub. + - Robust metadata extraction (yt-dlp + transcripts) + - AI-synthesized technical summaries + - Format-compliant Markdown rendering - name: Persist Incremental Inventory Cache if: always()