Skip to content

flake-update

flake-update #70

Workflow file for this run

name: Update the flake from the registry
on:
workflow_dispatch:
repository_dispatch:
types:
- flake-update
workflow_call:
jobs:
update:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
ref: develop
- uses: cachix/install-nix-action@V28
with:
extra_nix_config: |
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
- run: nix flake update --inputs-from github:akirak/flake-pins
- name: Update the lock entries
run: |
nix run .#lock --impure
nix run .#update --impure
- uses: peter-evans/create-pull-request@v7
with:
base: develop
token: ${{ secrets.PAT_FOR_PR }}
title: 'deps: Update the root flake.lock'
branch: bot/update/flake-lock
labels: automation,update,emacs