ci: Daily flake update
This commit is contained in:
parent
0aaaccc6e2
commit
fe32dd0a9d
2 changed files with 22 additions and 0 deletions
|
@ -6,6 +6,8 @@ on:
|
|||
- 'flake.lock'
|
||||
- 'home/programs/nvim/plugins.nix'
|
||||
- '.forgejo/workflows/build.yml'
|
||||
schedule:
|
||||
- cron: '20 4 * * *'
|
||||
jobs:
|
||||
build-amd64-linux:
|
||||
runs-on: nix-amd64
|
||||
|
|
20
.forgejo/workflows/update-flake.yml
Normal file
20
.forgejo/workflows/update-flake.yml
Normal file
|
@ -0,0 +1,20 @@
|
|||
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
|
||||
- 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>
|
Loading…
Reference in a new issue