2024-08-13 07:37:33 -05:00
|
|
|
name: update-flake-lock
|
|
|
|
on:
|
2024-08-13 19:11:35 -05:00
|
|
|
# workflow_dispatch: # allows manual triggering
|
|
|
|
# schedule:
|
|
|
|
# - cron: '0 0 * * *' # daily at midnight
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- main
|
|
|
|
paths:
|
|
|
|
- ".forgejo/workflows/update_lock.yaml"
|
2024-08-13 07:37:33 -05:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
lockfile:
|
2024-08-13 19:15:54 -05:00
|
|
|
runs-on: docker
|
2024-08-13 07:37:33 -05:00
|
|
|
steps:
|
|
|
|
- name: Checkout repository
|
|
|
|
uses: https://github.com/actions/checkout@v4
|
2024-08-13 19:15:54 -05:00
|
|
|
- name: Install Nix
|
2024-08-13 19:16:48 -05:00
|
|
|
uses: https://github.com/DeterminateSystems/nix-installer-action@main
|
2024-08-13 07:37:33 -05:00
|
|
|
- name: Update flake.lock
|
2024-08-16 17:01:49 -05:00
|
|
|
uses: ./.forgejo/actions/update-flake-lock
|
2024-08-13 07:37:33 -05:00
|
|
|
with:
|
|
|
|
pr-title: "Update flake.lock" # Title of PR to be created
|
|
|
|
pr-labels: | # Labels to be set on the PR
|
|
|
|
dependencies
|
|
|
|
automated
|
|
|
|
inputs: nixpkgs nixpkgs-unstable
|