diff --git a/.github/workflows/03.1.agentic_v2_metadata.yml b/.github/workflows/03.1.agentic_v2_metadata.yml index b5cd02cf..5fddb8a3 100644 --- a/.github/workflows/03.1.agentic_v2_metadata.yml +++ b/.github/workflows/03.1.agentic_v2_metadata.yml @@ -57,14 +57,17 @@ jobs: PYTHONUNBUFFERED: "1" run: python -u -m src.v2_metadata - - name: Create Pull Request for Metadata Update - uses: peter-evans/create-pull-request@v8 - with: - branch: bot/v2-metadata-sync - base: develop - title: "V2 Data: GitHub Metadata Sync" - commit-message: "chore: update inventory stars and licenses [skip ci]" - labels: "v2-data, metadata-sync" + - name: Commit and Push Metadata Updates + run: | + git config --global user.name "Nubenetes Bot" + git config --global user.email "bot@nubenetes.com" + git add data/inventory.yaml + if git diff --staged --quiet; then + echo "No changes in inventory.yaml to commit." + else + git commit -m "chore: update inventory stars and licenses [skip ci]" + git push origin develop + fi - name: Persist Incremental Inventory to Cache if: always() diff --git a/.github/workflows/03.2.agentic_v2_ai.yml b/.github/workflows/03.2.agentic_v2_ai.yml index 535d62b9..d638a95d 100644 --- a/.github/workflows/03.2.agentic_v2_ai.yml +++ b/.github/workflows/03.2.agentic_v2_ai.yml @@ -59,14 +59,17 @@ jobs: PYTHONUNBUFFERED: "1" run: python -u -m src.v2_ai - - name: Create Pull Request for Inventory Update - uses: peter-evans/create-pull-request@v8 - with: - branch: bot/v2-ai-sync - base: develop - title: "V2 Data: AI Curator Sync" - commit-message: "chore: update inventory AI analysis [skip ci]" - labels: "v2-data, ai-curator" + - name: Commit and Push AI Analysis Updates + run: | + git config --global user.name "Nubenetes Bot" + git config --global user.email "bot@nubenetes.com" + git add data/inventory.yaml + if git diff --staged --quiet; then + echo "No changes in AI analysis to commit." + else + git commit -m "chore: update inventory AI analysis [skip ci]" + git push origin develop + fi - name: Persist Incremental Inventory to Cache if: always() diff --git a/.github/workflows/03.3.agentic_v2_videos.yml b/.github/workflows/03.3.agentic_v2_videos.yml index b477651d..459ca975 100644 --- a/.github/workflows/03.3.agentic_v2_videos.yml +++ b/.github/workflows/03.3.agentic_v2_videos.yml @@ -72,19 +72,17 @@ jobs: export PYTHONPATH=$PYTHONPATH:. python src/v2_video_portal.py - - 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: Commit and Push Video Hub Updates + run: | + git config --global user.name "Nubenetes Bot" + git config --global user.email "bot@nubenetes.com" + git add data/inventory.yaml v2-docs/videos.md + if git diff --staged --quiet; then + echo "No automated changes to commit." + else + git commit -m "docs: update Video Hub with high-fidelity metadata [skip ci]" + git push origin develop + fi - name: Persist Incremental Inventory Cache if: always() diff --git a/.github/workflows/04.1.agentic_v2_publish.yml b/.github/workflows/04.1.agentic_v2_publish.yml index 1a49d70d..2b1cc295 100644 --- a/.github/workflows/04.1.agentic_v2_publish.yml +++ b/.github/workflows/04.1.agentic_v2_publish.yml @@ -82,39 +82,28 @@ jobs: python -m src.readme_updater python -m src.safety_readme - - name: Create Pull Request for V2 Elite Update - id: cpr - uses: peter-evans/create-pull-request@v8 + - name: Commit and Push V2 Elite Updates + run: | + git config --global user.name "Nubenetes Bot" + git config --global user.email "bot@nubenetes.com" + git add -A + if git diff --staged --quiet; then + echo "No automated changes to commit." + else + git commit -m "feat: sync V2 elite curated edition and README metrics [skip ci]" + git push origin develop + fi + + - name: Upload Architecture and Decision Logs + if: always() + uses: actions/upload-artifact@v4 with: - branch: bot/v2-elite-sync - base: develop - title: "V2 Elite: Agentic Optimization Sync (2026)" - body-path: pr_description.md - commit-message: "feat: sync V2 elite curated edition and README metrics [skip ci]" - labels: "v2-elite, agentic-sync" - - - name: Post Supplementary Architecture Audit (Comment) - if: steps.cpr.outputs.pull-request-number != '' - env: - GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - PR_NUMBER: ${{ steps.cpr.outputs.pull-request-number }} - run: | - if [ -f v2_file_audit.md ]; then - gh pr comment $PR_NUMBER --body-file v2_file_audit.md - fi - - - name: Post Elite Decision Matrix (Comment) - if: steps.cpr.outputs.pull-request-number != '' - env: - GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - PR_NUMBER: ${{ steps.cpr.outputs.pull-request-number }} - run: | - if [ -f v2_decision_matrix.md ]; then - split -b 60000 v2_decision_matrix.md matrix_part_ - for part in matrix_part_*; do - gh pr comment $PR_NUMBER --body-file $part - done - fi + name: v2-agentic-logs + path: | + v2_file_audit.md + v2_decision_matrix.md + v2_safety_report.md + if-no-files-found: ignore - name: Persist Incremental Inventory to Cache if: always() diff --git a/CHANGELOG.md b/CHANGELOG.md index 257d7306..433b5e77 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [[2.1.5]](https://github.com/nubenetes/awesome-kubernetes/releases/tag/v2.1.5) - 2026-05-25 + +### Changed +- **Automated Workflow Optimization**: Refactored V2 ecosystem workflows (Metadata, AI Curator, Video Hub, and Publisher) to utilize direct git push to the `develop` branch instead of creating redundant Pull Requests. This eliminates manual overhead and confusion while ensuring derived content is seamlessly synchronized using `[skip ci]` flags. +- **Workflow Observability**: Integrated GitHub Artifacts for automated architecture audits and decision matrices, replacing redundant PR comments. + ## [[2.1.4]](https://github.com/nubenetes/awesome-kubernetes/releases/tag/v2.1.4) - 2026-05-25 ### Added