Skip to content

Flake.lock: update Nix dependencies (Verified) #102

Flake.lock: update Nix dependencies (Verified)

Flake.lock: update Nix dependencies (Verified) #102

---
name: "Flake.lock: update Nix dependencies"
on:
workflow_dispatch: # allows manual triggering
schedule:
- cron: "0 0 * * 0" # runs weekly on Sunday at 00:00
jobs:
nix-flake-update:
permissions:
contents: write
id-token: write
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v5
- name: Install Nix
uses: DeterminateSystems/determinate-nix-action@v3
- name: Check Nix flake inputs
uses: DeterminateSystems/flake-checker-action@v12
with:
ignore-missing-flake-lock: false
fail-mode: true
- name: Update flake.lock
run: |
nix flake update
- uses: stefanzweifel/git-auto-commit-action@v7
with:
commit_message: "chore(lockfile): auto update flake.lock"
commit_user_name: "github-actions[bot]"
commit_user_email: "32497323+github-actions[bot]@users.noreply.github.com"
commit_author: "github-actions[bot] <32497323+github-actions[bot]@users.noreply.github.com>"
file_pattern: "flake.lock"