Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 6 additions & 7 deletions .github/workflows/lock_upd.yml
Original file line number Diff line number Diff line change
@@ -1,28 +1,27 @@
name: Update Cargo.lock

on:
# Allow manually running the update
workflow_dispatch:
# Run every Sunday at 00:00 UTC
schedule:
# Run every Sunday at 00:00 UTC
- cron: '0 0 * * 0'

# We need permissions to commit code and open a pull request
permissions:
contents: read
contents: write
pull-requests: write

jobs:
update-cargo-lock:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@master
with:
toolchain: stable
- uses: dtolnay/rust-toolchain@stable
- name: Update dependencies
run: cargo update
- name: Create Pull Request
uses: peter-evans/create-pull-request@v7
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
title: "Update Cargo.lock"
commit-message: "Update Cargo.lock"
Expand Down
Loading