.dotfiles/.forgejo/workflows/flake-updater.yml
2025-08-30 15:09:51 -04:00

25 lines
708 B
YAML

name: Update flake.lock
on:
workflow_dispatch: # allows manual triggering
schedule:
- cron: '0 0 * * 5' # runs weekly on Sunday at 00:00
jobs:
build:
runs-on: codeberg-tiny
steps:
- uses: actions/checkout@v4
- name: install nix
uses: https://github.com/DeterminateSystems/nix-installer-action@v17
- uses: https://github.com/DeterminateSystems/update-flake-lock@v24
with:
pr-title: "Update flake.lock" # Title of PR to be created
pr-labels: | # Labels to be set on the PR
dependencies
automated
token: ${{ secrets.FLAKE_PR_TOKEN }}
path-to-flake-dir: dot_config/flake/