mirror of
https://github.com/storytold/photocraft.git
synced 2026-12-02 06:20:48 +01:00
CI: check that git dependencies come from storytold
This commit is contained in:
1 parent
4e2c107ac5
commit
6401cfdbe1
1 file changed
+5
@@ -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 }}
|
||||
|
||||
Reference in new issue
Block a user