jobs: update nixpkgs daily

This commit is contained in:
DavHau 2024-02-24 21:05:44 +07:00 committed by mergify[bot]
parent 887022b8c1
commit 87969620a1

24
.github/workflows/flake-update.yml vendored Normal file
View File

@ -0,0 +1,24 @@
name: update-flake-lock
on:
workflow_dispatch:
schedule:
- cron: '15 18 * * *' # runs daily at 18:15 UTC
jobs:
lockfile:
strategy:
matrix:
flake-dir: [ ".", "./dev-flake" ]
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@main
- name: Update flake.lock
uses: DeterminateSystems/update-flake-lock@main
with:
pr-title: "Update nixpkgs"
pr-labels: dependencies
inputs: nixpkgs
path-to-flake-dir: ${{ matrix.flake-dir }}