From 4b476dfc1e7e4fc3f5ff1a5d5c243f71c05c5985 Mon Sep 17 00:00:00 2001 From: perekopskiy Date: Tue, 7 May 2024 19:30:23 +0300 Subject: [PATCH] test --- .github/workflows/release-please-cargo-lock.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release-please-cargo-lock.yml b/.github/workflows/release-please-cargo-lock.yml index 8de2e3c02d62..15ec6853cecf 100644 --- a/.github/workflows/release-please-cargo-lock.yml +++ b/.github/workflows/release-please-cargo-lock.yml @@ -16,7 +16,13 @@ jobs: - name: Check last commit run: | - git log -1 --pretty=%B + COMMIT=$(git log -1 --pretty=%B) + if [[ "$COMMIT" == "Update Cargo.lock" ]]; then + echo "Cargo.lock is already updated" + exit 0 + else + echo "Cargo.lock should be updated" + fi - name: Setup environment run: |