nixos/.github/workflows/flake-update.yml
2023-08-08 14:54:16 +03:00

25 lines
607 B
YAML

name: Flake Lock Updater
on:
schedule:
# Pi o'clock
- cron: "0 0 * * 0"
workflow_dispatch:
jobs:
lock-updater:
name: Flake Lock Updater
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: DeterminateSystems/nix-installer-action@v4
- uses: DeterminateSystems/magic-nix-cache-action@v2
- uses: DeterminateSystems/update-flake-lock@v19
with:
pr-title: "chore: update flake.lock"
# Labels to be set on the PR
pr-labels: |
dependencies
automated