From 6401cfdbe18ae5d9301cb610fedf356d6f773193 Mon Sep 17 00:00:00 2001 From: aiongg Date: Sat, 17 Oct 2026 04:02:48 +0000 Subject: [PATCH] CI: check that git dependencies come from storytold --- .github/workflows/ci.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ba8243353d..07f54982a4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -50,6 +50,11 @@ jobs: - uses: actions/checkout@v4 with: fetch-depth: 0 + - name: Git dependencies come from storytold + run: | + if grep -E '^source = "git\+' Cargo.lock | grep -v '"git+https://github.com/storytold/'; then + echo "Cargo.lock has a git dependency outside github.com/storytold"; exit 1 + fi - id: pick env: EVENT: ${{ github.event_name }}