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

update-flake-lock

update-flake-lock #720

Workflow file for this run

name: update-flake-lock
on:
workflow_dispatch:
schedule:
- cron: '0 6 * * *'
jobs:
update-flake-lock:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- uses: DeterminateSystems/nix-installer-action@v11
- name: Update flake.lock
id: update-flake-lock
uses: DeterminateSystems/update-flake-lock@v23
with:
branch: update-flake-lock
pr-title: "Update flake.lock"
# By using a PAT, GitHub workflows will run on the opened
# PR. Otherwise, GitHub workflows won't run without human
# intervention on PR's opened by a GitHub action.
token: ${{ secrets.UPDATE_FLAKE_LOCK }}
- name: Enable pull request automerge
uses: peter-evans/enable-pull-request-automerge@v2
if: ${{ steps.update-flake-lock.outputs.pull-request-number }}
with:
token: ${{ secrets.UPDATE_FLAKE_LOCK }}
pull-request-number: ${{ steps.update-flake-lock.outputs.pull-request-number }}