nixos/.github/workflows/update.yml
ediblerope f7f394e0ae Bump GitHub Actions to Node.js 24 compatible versions
- actions/checkout v4 -> v6
- cachix/install-nix-action v27 -> v31 (also patches CVE-2026-39860)
- stefanzweifel/git-auto-commit-action v5 -> v7

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-08 19:52:54 +01:00

33 lines
No EOL
803 B
YAML

name: Update flake inputs
on:
schedule:
- cron: '0 4 * * *' # Daily at 4am UTC
workflow_dispatch: # Allow manual trigger from GitHub Actions tab
jobs:
update:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout repo
uses: actions/checkout@v6
- name: Install Nix
uses: cachix/install-nix-action@v31
with:
nix_path: nixpkgs=channel:nixos-unstable
extra_nix_config: |
experimental-features = nix-command flakes
- name: Update flake inputs
run: nix flake update
- name: Commit updated flake.lock
uses: stefanzweifel/git-auto-commit-action@v7
with:
commit_message: "flake: update inputs"
file_pattern: flake.lock