Initialize central Davidson CI

This commit is contained in:
2026-09-08 17:11:27 +01:00
commit 667c25d48a
2 changed files with 40 additions and 0 deletions
+27
View File
@@ -0,0 +1,27 @@
name: Davidson CI
on:
push:
permissions:
contents: read
jobs:
detect:
runs-on: davidson-ci
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Detect project
run: |
echo "=== Davidson CI Project Detection ==="
PHP_COUNT=$(find . -type f -name "*.php" -not -path "./vendor/*" | wc -l)
JS_COUNT=$(find . -type f \( -name "*.js" -o -name "*.mjs" -o -name "*.cjs" \) -not -path "./node_modules/*" | wc -l)
CSS_COUNT=$(find . -type f -name "*.css" -not -path "./node_modules/*" | wc -l)
echo "PHP files: $PHP_COUNT"
echo "JavaScript files: $JS_COUNT"
echo "CSS files: $CSS_COUNT"
+13
View File
@@ -0,0 +1,13 @@
# Davidson CI
Central CI, security and AI review workflows for Davidson development projects.
## Modules
- PHP
- JavaScript
- CSS
- Security
- AI Review
Additional language modules can be added without replacing the existing pipeline.