Skip to content

Update Flake Lock

Update Flake Lock #6

name: Update Flake Lock
on:
schedule:
- cron: "0 0 * * 1"
workflow_dispatch:
permissions:
id-token: write
contents: write
jobs:
update:
runs-on: warp-ubuntu-latest-arm64-2x
steps:
- uses: actions/checkout@v4
- name: Set git identity
run: |
git config user.name "GitHub Actions"
git config user.email "actions@github.com"
- uses: DeterminateSystems/determinate-nix-action@v3
- uses: DeterminateSystems/flakehub-cache-action@main
- name: Update flake.lock
run: nix flake update
- name: Push changes
run: |
git add flake.lock
git diff --staged --quiet && echo "No changes" && exit 0
git commit -m "chore(nix): update flake.lock"
git push