Bump-O-Matic #106
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Bump-O-Matic" | |
on: | |
schedule: | |
- cron: "0 12 * * MON" | |
# To allow for manual triggering: | |
workflow_dispatch: | |
jobs: | |
bump-o-matic: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: cachix/install-nix-action@v27 | |
with: | |
nix_path: nixpkgs=channel:nixos-24.05 | |
- name: Update dependencies | |
run: | | |
nix --experimental-features "nix-command flakes" flake update | |
nix --experimental-features "nix-command flakes" develop --command cargo update | |
- name: Create pull request | |
id: pr | |
uses: peter-evans/create-pull-request@v6 | |
with: | |
commit-message: "bump-o-matic: update dependencies" | |
branch: bump-o-matic | |
delete-branch: true | |
title: "Bump-O-Matic: Update dependencies" | |
body: "Update dependencies." |