Skip to content

Commit 12d9761

Browse files
committed
ci: update release workflow
1 parent 31130c1 commit 12d9761

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/release-pr.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,5 +52,8 @@ jobs:
5252
Cargo.toml
5353
5454
git add ./Cargo.toml
55-
git commit -m "chore: update Cargo.toml for release"
56-
git push
55+
56+
if ! git diff --cached --quiet; then
57+
git commit -m "chore: update Cargo.toml for release"
58+
git push
59+
fi

0 commit comments

Comments
 (0)