Update NH #24
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: "Update NH" | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: "0 4 1 * *" | |
jobs: | |
main: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install Nix | |
uses: DeterminateSystems/nix-installer-action@main | |
- uses: actions/checkout@v3 | |
name: Checkout | |
- run: nix flake update | |
name: Bump flake.lock | |
- run: nix run --inputs-from . nixpkgs#cargo-bump -- minor | |
name: Bump Cargo.toml | |
- run: nix run --inputs-from . nixpkgs#cargo -- update | |
name: Bump Cargo.lock | |
- name: Create Pull Request | |
uses: peter-evans/create-pull-request@v4 | |
with: | |
token: '${{ secrets.PAT }}' | |
title: 'build: bump deps' | |
commit-message: | | |
Bump all deps | |
Co-authored-by: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com> | |
author: GitHub <[email protected]> | |
branch: update | |
branch-suffix: timestamp | |
delete-branch: true |