Skip to content

update-flake-lock

update-flake-lock #732

Workflow file for this run

name: Update and push flake lock
on:
schedule:
- cron: "* 2 * * *"
workflow_dispatch:
repository_dispatch:
event_type: update-flake-lock
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: write
id-token: write
steps:
- uses: actions/checkout@v6
- uses: nixbuild/nix-quick-install-action@v34
- uses: DeterminateSystems/flake-checker-action@v12
- name: Setup git
run: |
git config --global user.name 'Github Actions'
git config --global user.email 'alisonjenkins-gha@users.noreply.github.com'
- name: Update flake
run: |
nix flake update --commit-lock-file && \
git push origin main