workflows/update: Init

This commit is contained in:
SebastianStork 2026-02-17 20:18:10 +01:00
parent a0b966ed42
commit f45a39b189
Signed by: SebastianStork
SSH key fingerprint: SHA256:tRrGdjYOwgHxpSc/wTOZQZEjxcb15P0tyXRsbAfd+2Q

18
.github/workflows/update.yml vendored Normal file
View file

@ -0,0 +1,18 @@
name: "Update"
on:
schedule:
- cron: "0 4 * * 1,3,6" # Mon, Wed, Sat at 04:00 UTC
workflow_dispatch:
jobs:
update:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v5
- uses: cachix/install-nix-action@v31
- run: |
git config user.name "github-actions[bot]"
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
nix flake update --commit-lock-file
git push