2022-08-05 21:03:12 +00:00
|
|
|
name: Update Flake
|
|
|
|
|
|
|
|
on:
|
|
|
|
schedule:
|
|
|
|
- cron: '0 8 * * *'
|
|
|
|
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"
|