flake-update #70
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |