We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5f7feb8 commit f1d5bb1Copy full SHA for f1d5bb1
1 file changed
.github/workflows/release-plz.yml
@@ -22,6 +22,19 @@ jobs:
22
fetch-depth: 0
23
- name: Install Rust toolchain
24
uses: dtolnay/rust-toolchain@stable
25
+ - name: Sync Cargo.lock
26
+ run: cargo check
27
+ - name: Commit Cargo.lock if changed
28
+ run: |
29
+ if git diff --quiet Cargo.lock; then
30
+ echo "Cargo.lock is already up to date"
31
+ else
32
+ git config user.name "github-actions[bot]"
33
+ git config user.email "github-actions[bot]@users.noreply.github.com"
34
+ git add Cargo.lock
35
+ git commit -m "chore: update Cargo.lock"
36
+ git push
37
+ fi
38
- name: Run release-plz
39
uses: release-plz/action@v0.5
40
with:
0 commit comments