2023-09-16 15:43:50 +00:00
|
|
|
name: Update Flake
|
|
|
|
|
|
|
|
on:
|
|
|
|
schedule:
|
|
|
|
- cron: '0 2 * * *'
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
update-flake:
|
|
|
|
runs-on: ubuntu-latest-amd64
|
|
|
|
|
|
|
|
permissions:
|
|
|
|
contents: write
|
|
|
|
|
|
|
|
steps:
|
2023-12-03 12:36:06 +00:00
|
|
|
- uses: actions/checkout@v4
|
|
|
|
with:
|
|
|
|
ref: master
|
2023-09-16 15:43:50 +00:00
|
|
|
- name: Install Nix
|
|
|
|
uses: https://github.com/DeterminateSystems/nix-installer-action@v4
|
|
|
|
with:
|
|
|
|
init: none
|
|
|
|
planner: linux
|
|
|
|
github-token: null
|
|
|
|
- run: nix flake update
|
2023-11-29 11:13:59 +00:00
|
|
|
- uses: https://github.com/stefanzweifel/git-auto-commit-action@v5
|
2023-09-16 15:43:50 +00:00
|
|
|
with:
|
|
|
|
commit_message: "[automation] Update flake"
|
2023-11-29 11:13:59 +00:00
|
|
|
commit_user_name: Actions Bot
|
|
|
|
commit_user_email: daniel+actions-bot@kempkens.io
|
|
|
|
commit_author: Actions Bot <daniel+actions-bot@kempkens.io>
|