CI: release only with git dependencies from storytold

This commit is contained in:
aiongg
2026-10-20 17:13:37 +00:00
parent 6401cfdbe1
commit 8f9ebc3136
+14
View File
@@ -18,7 +18,21 @@ concurrency:
cancel-in-progress: false
jobs:
git-sources:
name: Git dependencies come from storytold
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- uses: actions/checkout@v4
- name: Check Cargo.lock
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
release:
needs: git-sources
# Intentionally tracked at @main (not SHA-pinned) so org-wide CI improvements, security fixes, and build optimizations propagate without PR churn across all craftapp repos.
uses: storytold/craft-common-actions/.github/workflows/release.yml@main
with: