Skip to content

Commit 1946925

Browse files
committed
fix(ci): remove shallow clone depth from contract CI git fetch
1 parent 253e872 commit 1946925

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/contract-ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
- name: Ensure Cargo.lock is updated when Cargo.toml changes
4040
if: github.event_name == 'pull_request'
4141
run: |
42-
git fetch origin "${{ github.base_ref }}" --depth=1
42+
git fetch origin "${{ github.base_ref }}"
4343
changed_files="$(git diff --name-only "origin/${{ github.base_ref }}...HEAD" -- app/onchain/Cargo.toml app/onchain/Cargo.lock)"
4444
if echo "$changed_files" | grep -q '^app/onchain/Cargo.toml$' && ! echo "$changed_files" | grep -q '^app/onchain/Cargo.lock$'; then
4545
echo "Cargo.toml changed without updating Cargo.lock."

0 commit comments

Comments
 (0)