Skip to content

Update flake.lock

Update flake.lock #57

Workflow file for this run

name: Update flake.lock
on:
schedule:
# run every saturday
- cron: "0 0 * * 6"
workflow_dispatch:
jobs:
update:
name: Run update
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@v13
- name: Update flake.lock & make PR
id: update
uses: DeterminateSystems/update-flake-lock@v23
with:
commit-msg: "nix: update flake.lock"
pr-title: "nix: update flake.lock"
- name: Enable auto-merge
if: env.PR_ID != ''
run: gh pr merge --auto --squash "$PR_ID"
env:
GH_TOKEN: ${{ secrets.MERGE_TOKEN }}
PR_ID: ${{ steps.update.outputs.pull-request-number }}