30 lines
738 B
YAML
30 lines
738 B
YAML
name: Update Flake
|
|
|
|
on:
|
|
schedule:
|
|
- cron: '0 2 * * *'
|
|
|
|
jobs:
|
|
update-flake:
|
|
runs-on: ubuntu-latest-amd64
|
|
|
|
permissions:
|
|
contents: write
|
|
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
with:
|
|
ref: master
|
|
- name: Install Nix
|
|
uses: https://github.com/DeterminateSystems/nix-installer-action@v4
|
|
with:
|
|
init: none
|
|
planner: linux
|
|
github-token: null
|
|
- run: nix flake update
|
|
- 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>
|