2022-08-05 21:03:12 +00:00
|
|
|
name: Update Flake
|
|
|
|
|
|
|
|
on:
|
|
|
|
schedule:
|
2023-05-16 20:13:30 +00:00
|
|
|
- cron: '0 8 * * *'
|
2022-08-05 21:03:12 +00:00
|
|
|
workflow_dispatch:
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
update-flake:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v3
|
2022-08-05 21:06:34 +00:00
|
|
|
- uses: cachix/install-nix-action@v17
|
2022-08-05 21:03:12 +00:00
|
|
|
with:
|
|
|
|
nix_path: nixpkgs=channel:nixpkgs-unstable
|
2022-08-05 21:06:34 +00:00
|
|
|
- run: nix flake update
|
2022-08-05 21:03:12 +00:00
|
|
|
- uses: stefanzweifel/git-auto-commit-action@v4
|
|
|
|
with:
|
|
|
|
commit_message: "[automation] Update flake"
|