2024-02-05 04:28:32 +01:00
|
|
|
name: update-flake-lock
|
|
|
|
on:
|
|
|
|
workflow_dispatch: # allows manual triggering
|
|
|
|
schedule:
|
|
|
|
- cron: '0 0 * * 0' # runs weekly on Sunday at 00:00
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
lockfile:
|
2024-02-05 04:45:50 +01:00
|
|
|
runs-on: ubuntu
|
2024-02-05 04:28:32 +01:00
|
|
|
steps:
|
|
|
|
- name: Checkout repository
|
|
|
|
uses: actions/checkout@v3
|
|
|
|
- name: Install Nix
|
|
|
|
uses: https://git.sysctl.io/actions/nix-installer-action@main
|
|
|
|
- name: Update flake.lock
|
|
|
|
uses: https://git.sysctl.io/actions/update-flake-lock@main
|
|
|
|
with:
|
|
|
|
pr-title: "Update flake.lock" # Title of PR to be created
|
|
|
|
pr-labels: | # Labels to be set on the PR
|
|
|
|
dependencies
|
|
|
|
automated
|