1
0
Fork 0
dotfiles/.forgejo/workflows/update-flake.yml

23 lines
660 B
YAML

name: Update Flake
on:
schedule:
- cron: '0 4 * * *'
jobs:
update-flake:
runs-on: nix-amd64
permissions:
contents: write
steps:
- uses: actions/checkout@v4
with:
ref: master
- name: Update dependencies
run: |
nix flake update
./home/programs/nvim/update-plugins.sh
- uses: https://github.com/stefanzweifel/git-auto-commit-action@v5
with:
commit_message: "[automation] Update flake"
commit_user_name: Actions Bot
commit_user_email: daniel+actions-bot@kempkens.io
commit_author: Actions Bot <daniel+actions-bot@kempkens.io>