Skip to content

Update Flake Lock

Update Flake Lock #4

name: Update Flake Lock
on:
workflow_dispatch:
schedule:
- cron: '0 0 * * 0' # Runs weekly on Sunday at 00:00
jobs:
update-flake-lock:
name: Update Flake Lock
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@main
- name: Update flake.lock
id: update
uses: DeterminateSystems/update-flake-lock@v21
- name: Enable Pull Request Auto-Merge
uses: peter-evans/enable-pull-request-automerge@v3
if: steps.update.outputs.pull-request-operation == 'created'
with:
pull-request-number: ${{ steps.update.outputs.pull-request-number }}
merge-method: squash
token: ${{ secrets.GITHUB_TOKEN }}