Skip to content

Update Flake Lock

Update Flake Lock #2

Workflow file for this run

name: Update Flake Lock
on:
workflow_dispatch:
schedule:
# Run every Sunday at 00:00 UTC
- cron: '0 0 * * 0'
jobs:
update:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Nix
uses: cachix/install-nix-action@v31
with:
nix_path: nixpkgs=channel:nixos-unstable
- name: Setup Cachix
uses: cachix/cachix-action@v16
with:
name: kiriwalawren
authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}"
- name: Update flake.lock
run: nix flake update
- name: Run checks with updated dependencies
run: nix flake check --all-systems
- name: Create Pull Request
uses: peter-evans/create-pull-request@v6
with:
token: ${{ secrets.GITHUB_TOKEN }}
commit-message: "chore: update flake.lock"
title: "chore: update flake.lock"
body: |
Automated flake.lock update.
This PR updates all flake inputs to their latest versions.
branch: update-flake-lock
delete-branch: true