28 lines
792 B
YAML
28 lines
792 B
YAML
name: update-flake-lock
|
|
on:
|
|
# workflow_dispatch: # allows manual triggering
|
|
schedule:
|
|
- cron: '0 0 * * *' # daily at midnight
|
|
push:
|
|
branches:
|
|
- main
|
|
paths:
|
|
- ".forgejo/workflows/update_lock.yaml"
|
|
|
|
jobs:
|
|
lockfile:
|
|
runs-on: docker
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: https://github.com/actions/checkout@v4
|
|
- name: Install Nix
|
|
uses: https://github.com/DeterminateSystems/nix-installer-action@main
|
|
- name: Update flake.lock
|
|
uses: ./.forgejo/actions/update-flake-lock
|
|
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
|
|
|