Skip to content

add volunteer shapes #32

add volunteer shapes

add volunteer shapes #32

name: Validate All SHACL Shapes
on:
push:
branches:
- main
paths:
- 'shapes/**/*.ttl'
workflow_dispatch: # allows manual triggering
jobs:
main-push-validation:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Skip validation for Dependabot
if: github.actor == 'dependabot[bot]'
run: echo "Skipping SHACL validation for Dependabot PR"
- name: Set up Python
if: github.actor != 'dependabot[bot]'
uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Install dependencies
if: github.actor != 'dependabot[bot]'
run: pip install pyshacl rdflib rich
- name: Validate all TTL files
if: github.actor != 'dependabot[bot]'
run: bash scripts/validate-shacl-shapes-dir.sh
- name: Metadata & immutability checks
if: github.actor != 'dependabot[bot]'
run: python scripts/check-metadata-and-immutability-dir.py
- name: Namespace & naming checks
if: github.actor != 'dependabot[bot]'
run: python scripts/check-namespaces-and-names-dir.py