update flake lock #15
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: Flake update | |
on: | |
schedule: | |
- cron: '0 4 * * *' | |
jobs: | |
flake-update: | |
name: Flake update | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install nix | |
run: sh <(curl -L https://nixos.org/nix/install) --no-daemon | |
- name: Nix flake update | |
run: | | |
. /home/runner/.nix-profile/etc/profile.d/nix.sh | |
nix flake update --extra-experimental-features "nix-command flakes" | |
- name: Create Pull Request | |
uses: peter-evans/create-pull-request@v6 | |
with: | |
base: main | |
branch: chore/flake-update | |
delete-branch: true | |
title: Automatic flake update | |
labels: flake-update,bot | |
commit-message: | | |
chore(nixos): flake update | |
flake update by github actions bot | |