diff --git a/.woodpecker/pre-commit.yaml b/.woodpecker/pre-commit.yaml new file mode 100644 index 0000000..654d1ae --- /dev/null +++ b/.woodpecker/pre-commit.yaml @@ -0,0 +1,12 @@ +when: + - event: pull_request + +steps: + - name: validate + image: python:3.12-alpine + commands: + - pip install --quiet yamllint + - yamllint -d relaxed skills/ + - python -m json.tool schemas/subtask-request.json > /dev/null + - python -m json.tool schemas/subtask-status.json > /dev/null + - echo "All skills and schemas valid"