auto update push rights

This commit is contained in:
2026-04-23 17:40:49 +02:00
parent 14eaa9b5f8
commit c95443f8b8

View File

@ -1,5 +1,9 @@
name: update the nix flake lock automatically every week name: update the nix flake lock automatically every week
run-name: update run-name: update
permissions:
contents: write
on: on:
schedule: schedule:
- cron: "0 4 * * 1" - cron: "0 4 * * 1"
@ -17,3 +21,11 @@ jobs:
- name: run the update - name: run the update
run: nix flake update run: nix flake update
- name: Commit and push
run: |
git config user.name "Update action"
git config user.email "update-action@no-one.com"
git add .
git commit -m "Auto update"
git push