add updater ci

This commit is contained in:
jmarkin 2025-09-14 20:48:54 +03:00
parent 61aeaa56c3
commit ad2539c4ac

View file

@ -0,0 +1,27 @@
name: Updater
on:
schedule:
- cron: '0 7 * * *'
workflow_dispatch: {}
jobs:
update_flake:
runs-on: ubuntu-node
steps:
- name: Set up git
run: |
git config --global user.email "actions[bot]"
git config --global user.name "actions[bot]"
git config --global http.sslVerify "false"
- name: Checkout repository
uses: actions/checkout@v4
- name: Install Nix
uses: https://github.com/DeterminateSystems/nix-installer-action@main
- name: Update flake.lock
uses: https://github.com/DeterminateSystems/update-flake-lock@main
with:
pr-title: "Update flake.lock" # Title of PR to be created
pr-labels: | # Labels to be set on the PR
dependencies
automated