Update flake dependencies #22
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 flake dependencies | |
on: | |
schedule: | |
- cron: '0 16 * * 5' | |
workflow_dispatch: # for allowing manual triggers of the workflow | |
jobs: | |
update-dependencies: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: cachix/install-nix-action@v23 | |
- uses: cachix/cachix-action@v12 | |
with: | |
name: nix-community | |
- name: add nix-community cache | |
run: cachix use nix-community | |
- name: update flake.lock | |
run: nix flake update | |
- name: Create Pull Request | |
uses: peter-evans/create-pull-request@v5 | |
with: | |
commit-message: "flake: update dependencies" | |
title: "[automation] update flake dependencies" | |
branch: "automation/update-flake-dependencies" |