Files
Sankofa/.github/workflows/validate-configs.yml
defiQUG 9daf1fd378 Apply Composer changes: comprehensive API updates, migrations, middleware, and infrastructure improvements
- Add comprehensive database migrations (001-024) for schema evolution
- Enhance API schema with expanded type definitions and resolvers
- Add new middleware: audit logging, rate limiting, MFA enforcement, security, tenant auth
- Implement new services: AI optimization, billing, blockchain, compliance, marketplace
- Add adapter layer for cloud integrations (Cloudflare, Kubernetes, Proxmox, storage)
- Update Crossplane provider with enhanced VM management capabilities
- Add comprehensive test suite for API endpoints and services
- Update frontend components with improved GraphQL subscriptions and real-time updates
- Enhance security configurations and headers (CSP, CORS, etc.)
- Update documentation and configuration files
- Add new CI/CD workflows and validation scripts
- Implement design system improvements and UI enhancements
2025-12-12 18:01:35 -08:00

57 lines
1.4 KiB
YAML

name: Validate Configuration Files
on:
push:
branches: [ main, develop ]
paths:
- 'crossplane-provider-proxmox/**/*.yaml'
- 'cloudflare/**/*.yaml'
- 'cloudflare/**/*.tf'
- 'gitops/**/*.yaml'
pull_request:
branches: [ main, develop ]
paths:
- 'crossplane-provider-proxmox/**/*.yaml'
- 'cloudflare/**/*.yaml'
- 'cloudflare/**/*.tf'
- 'gitops/**/*.yaml'
jobs:
validate:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.11'
- name: Install yamllint
run: pip install yamllint
- name: Validate YAML files
run: |
find . -name "*.yaml" -o -name "*.yml" | \
grep -v node_modules | \
grep -v .git | \
xargs yamllint -d relaxed || true
- name: Validate provider config
run: |
./scripts/validate-configs.sh || true
- name: Check for placeholders
run: |
if grep -r "CHANGE_ME\|your-\|TBD\|TODO\|FIXME" \
--include="*.yaml" \
--include="*.yml" \
crossplane-provider-proxmox/examples/ \
cloudflare/tunnel-configs/ \
gitops/ 2>/dev/null; then
echo "⚠️ Found placeholders in configuration files"
exit 1
fi