Files
website-risg/.gitea/workflows/update.yml
philipp 8ff06e0e9e
Some checks failed
CI/CD Pipeline / deploy-main (push) Failing after 10m51s
Update .gitea/workflows/update.yml
2026-01-04 09:08:21 +01:00

35 lines
1.0 KiB
YAML

name: Update Cargo Dependencies
on:
schedule:
- cron: '0 2 1 * *' # Run monthly on the first at 2am
workflow_dispatch: # Allow manual triggering
jobs:
update-dependencies:
runs-on: ubuntu-latest
container: git.hofer.link/philipp/ci-images:rust-latest
steps:
- uses: actions/checkout@v3
- name: Update dependencies
run: |
cargo upgrade
cargo update
- name: Create Pull Request
uses: https://git.hofer.link/philipp/create-pull-request@18ef1fdad70eec569ab10292c1fa79c1b5296370
with:
token: ${{ secrets.GITEATOKEN }}
commit-message: Update Cargo dependencies
title: Update Cargo dependencies
body: |
This PR updates Cargo dependencies to their latest versions.
@philipp
- Run `cargo upgrade` to update version requirements in Cargo.toml
- Run `cargo update` to update Cargo.lock
branch: update-cargo-dependencies
delete-branch: true