Add .gitea/workflows/update.yml
All checks were successful
Nix Build / build-nixos (push) Successful in 26m11s

This commit is contained in:
sora 2024-04-13 10:52:49 +02:00
parent 177c26e41d
commit 35626de702

View File

@ -0,0 +1,30 @@
name: update-flake-lock
on:
workflow_dispatch:
schedule:
- cron: '0 2 * * 6,7'
env:
USER: "runner"
jobs:
lockfile:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Install nix
uses: DeterminateSystems/nix-installer-action@v7
with:
github-token: ${{ secrets.GH_TOKEN_FOR_UPDATES }}
extra_nix_config: |
experimental-features = nix-command flakes
- name: Update flake.lock
uses: DeterminateSystems/update-flake-lock@v20
with:
token: ${{ secrets.GT_TOKEN_FOR_UPDATES }}
pr-title: "[chore] Update flake.lock"
pr-labels: |
dependencies
automated