From 6cf0df1bb2ecd2447c6056bf3fa79e45de3bade5 Mon Sep 17 00:00:00 2001 From: Adam Dry Date: Mon, 16 Mar 2026 18:48:10 +0000 Subject: [PATCH] ci: fail if .gsd/ directory is checked in --- .github/workflows/ci.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3eb10f406..47a78c5f7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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