name: Infrastructure Audit run-name: 📊 Server Status Report on: [push] jobs: audit: runs-on: ubuntu-latest container: # Використовуємо образ, де точно є Node.js (щоб працював checkout) image: node:16-bullseye # Прокидаємо сокет хоста, щоб бачити реальні контейнери volumes: - /var/run/docker.sock:/var/run/docker.sock steps: - name: 📥 Check out repository uses: actions/checkout@v3 - name: 🛠️ Setup Tools run: | # Встановлюємо Docker CLI та Python apt-get update apt-get install -y docker.io python3 - name: 🐍 Run Audit Script run: python3 audit.py