Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 4dfc5f9ed9 | |||
| 37fa23df15 |
@@ -42,15 +42,3 @@ jobs:
|
|||||||
done
|
done
|
||||||
done
|
done
|
||||||
exit $fail
|
exit $fail
|
||||||
|
|
||||||
ci:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v4
|
|
||||||
|
|
||||||
- name: Validate JSON files
|
|
||||||
run: |
|
|
||||||
find . -name "*.json" -not -path "./.git/*" | while read -r f; do
|
|
||||||
python3 -m json.tool "$f" > /dev/null || { echo "::error file=$f::Invalid JSON"; exit 1; }
|
|
||||||
done
|
|
||||||
echo "All JSON files valid"
|
|
||||||
|
|||||||
@@ -1,24 +0,0 @@
|
|||||||
name: Promotion Gate
|
|
||||||
|
|
||||||
on:
|
|
||||||
pull_request:
|
|
||||||
branches: [main]
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
promotion_gate:
|
|
||||||
name: Promotion Gate
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v4
|
|
||||||
|
|
||||||
- name: Validate skills directory structure
|
|
||||||
run: |
|
|
||||||
set -e
|
|
||||||
fail=0
|
|
||||||
for dir in skills/*/; do
|
|
||||||
if [ ! -f "${dir}SKILL.md" ]; then
|
|
||||||
echo "::error::Missing SKILL.md in ${dir}"
|
|
||||||
fail=1
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
exit $fail
|
|
||||||
Reference in New Issue
Block a user