chore(act): automatic lockfile updates

This commit is contained in:
Ananth Venkatesh 2025-04-19 02:04:15 -04:00 committed by Youwen Wu
parent 059ab48a51
commit 6e73180da3

21
.github/workflows/lock.yml vendored Normal file
View file

@ -0,0 +1,21 @@
name: update-flake-lock
on:
workflow_dispatch: # allows manual triggering
schedule:
- cron: "0 0 * * *" # runs daily at 00:00
jobs:
lockfile:
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:
token: ${{ secrets.GH_TOKEN_FOR_UPDATES }}
pr-title: "build(lock): update"
pr-labels: |
lock
pr-assignees: youwen5