Skip to content

update flake.lock

update flake.lock #154

name: update flake.lock
on:
schedule:
- cron: '0 0 * * *'
workflow_dispatch:
jobs:
nix-flake-update:
runs-on: ubuntu-latest
steps:
- name: install nix
uses: cachix/install-nix-action@v15
- name: checkout
uses: actions/checkout@v3
- name: update flake.lock
run: |
nix flake update
[[ $(git diff flake.lock) != "" ]] || exit 0
git config --local user.name "Hacl Bot"
git config --local user.email "[email protected]"
git add flake.lock
git commit -m "[CI] update flake.lock"
- name: push
uses: ad-m/github-push-action@master
with:
branch: update-flake-lock
force: true