ci: fail if .gsd/ directory is checked in

This commit is contained in:
Adam Dry 2026-03-16 18:48:10 +00:00
parent 6aaace9838
commit 6cf0df1bb2

View file

@ -7,6 +7,17 @@ on:
branches: [main]
jobs:
no-gsd-dir:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Ensure .gsd/ is not checked in
run: |
if [ -d ".gsd" ]; then
echo "::error::.gsd/ directory must not be checked in"
exit 1
fi
build:
runs-on: ubuntu-latest