mirror of
https://github.com/nubenetes/awesome-kubernetes.git
synced 2026-07-13 18:30:44 +00:00
Bumps the action-updates group with 5 updates: | Package | From | To | | --- | --- | --- | | [actions/checkout](https://github.com/actions/checkout) | `4` | `6` | | [actions/setup-python](https://github.com/actions/setup-python) | `5` | `6` | | [actions/cache](https://github.com/actions/cache) | `4` | `5` | | [actions/upload-artifact](https://github.com/actions/upload-artifact) | `4` | `7` | | [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request) | `6` | `8` | Updates `actions/checkout` from 4 to 6 - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v4...v6) Updates `actions/setup-python` from 5 to 6 - [Release notes](https://github.com/actions/setup-python/releases) - [Commits](https://github.com/actions/setup-python/compare/v5...v6) Updates `actions/cache` from 4 to 5 - [Release notes](https://github.com/actions/cache/releases) - [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md) - [Commits](https://github.com/actions/cache/compare/v4...v5) Updates `actions/upload-artifact` from 4 to 7 - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](https://github.com/actions/upload-artifact/compare/v4...v7) Updates `peter-evans/create-pull-request` from 6 to 8 - [Release notes](https://github.com/peter-evans/create-pull-request/releases) - [Commits](https://github.com/peter-evans/create-pull-request/compare/v6...v8) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '6' dependency-type: direct:production update-type: version-update:semver-major dependency-group: action-updates - dependency-name: actions/setup-python dependency-version: '6' dependency-type: direct:production update-type: version-update:semver-major dependency-group: action-updates - dependency-name: actions/cache dependency-version: '5' dependency-type: direct:production update-type: version-update:semver-major dependency-group: action-updates - dependency-name: actions/upload-artifact dependency-version: '7' dependency-type: direct:production update-type: version-update:semver-major dependency-group: action-updates - dependency-name: peter-evans/create-pull-request dependency-version: '8' dependency-type: direct:production update-type: version-update:semver-major dependency-group: action-updates ... Signed-off-by: dependabot[bot] <support@github.com>
113 lines
3.7 KiB
YAML
113 lines
3.7 KiB
YAML
name: Nubenetes V2 Agentic Builder
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
inputs:
|
|
force_reevaluate:
|
|
description: 'Force AI re-evaluation (ignores cache for tags/years)'
|
|
type: boolean
|
|
default: false
|
|
activate_backup_key:
|
|
description: 'Activate Identity B (Subscription) as backup/rotation'
|
|
type: boolean
|
|
default: false
|
|
# Automatic detection: Sync V2 whenever V1 archive or inventory is updated
|
|
push:
|
|
branches: [ develop ]
|
|
paths:
|
|
- 'docs/**'
|
|
- 'data/inventory.yaml'
|
|
- 'src/v2_optimizer.py'
|
|
|
|
permissions:
|
|
contents: write
|
|
pull-requests: write
|
|
|
|
concurrency:
|
|
group: v2-builder-${{ github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
build-v2-edition:
|
|
runs-on: ubuntu-latest
|
|
if: |
|
|
github.event_name == 'workflow_dispatch' ||
|
|
(github.event_name == 'push' &&
|
|
github.ref == 'refs/heads/develop' &&
|
|
!contains(github.event.head_commit.message, '[skip ci]') &&
|
|
!contains(github.event.head_commit.message, 'bot/v2-elite-sync'))
|
|
steps:
|
|
- name: Repository Synchronization
|
|
uses: actions/checkout@v6
|
|
with:
|
|
ref: develop
|
|
fetch-depth: 0
|
|
|
|
- name: Python 3.11 Environment Provisioning
|
|
uses: actions/setup-python@v6
|
|
with:
|
|
python-version: '3.11'
|
|
|
|
- name: Installation of Dependencies
|
|
run: |
|
|
python -m pip install --upgrade pip
|
|
pip install --no-cache-dir pydantic PyGithub httpx fake-useragent pytz python-dotenv pyyaml
|
|
|
|
- name: Run V2 Agentic Optimizer
|
|
env:
|
|
GEMINI_API_KEY_1: ${{ secrets.GEMINI_API_KEY_1 }}
|
|
GEMINI_API_KEY_2: ${{ secrets.GEMINI_API_KEY_2 }}
|
|
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
ACTIVATE_BACKUP_KEY: ${{ github.event.inputs.activate_backup_key || 'false' }}
|
|
FORCE_EVAL: ${{ github.event.inputs.force_reevaluate }}
|
|
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: Consolidate README Metrics (Integrated)
|
|
env:
|
|
PYTHONPATH: .
|
|
run: |
|
|
python src/readme_updater.py
|
|
python src/safety_readme.py
|
|
|
|
- name: Create Pull Request for V2 Elite Update
|
|
id: cpr
|
|
uses: peter-evans/create-pull-request@v8
|
|
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 decision matrix if too large for a single comment (approx 60k chars)
|
|
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
|