chore: add CI workflow
CI / validate (push) Successful in 8s

This commit is contained in:
2026-06-29 19:52:06 -05:00
parent 18651a391c
commit 6133d72106
+39
View File
@@ -0,0 +1,39 @@
# GitOps CI Workflow - Tier 1 (Simple)
name: CI
on:
workflow_dispatch:
push:
branches: [main]
pull_request:
branches: [main]
env:
SERVICE_NAME: ${{ github.event.repository.name }}
NTFY_URL: http://ntfy.internal
jobs:
validate:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v6
- name: Prepare environment
run: |
if [ -f .env.example ]; then
cp .env.example .env
fi
- name: Validate Docker Compose
run: |
if [ -f docker-compose.yml ]; then
docker compose config
else
echo "No docker-compose.yml found"
fi
- name: Lint YAML files
run: |
pip install yamllint
yamllint -d "{extends: relaxed, rules: {line-length: disable}}" .