Skip to content
This repository has been archived by the owner on Sep 18, 2024. It is now read-only.

Update flake.lock

Update flake.lock #63

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
uses: DeterminateSystems/update-flake-lock@v23
id: update
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: ${{ github.token }}
PR_ID: ${{ steps.update.outputs.pull-request-number }}