nix-config/.github/workflows/update.yml
Sanjay Chacku Purakal 005e1c3e15
Create update.yml
2024-04-24 12:55:13 +02:00

20 lines
619 B
YAML

name: update-flake-lock
on:
workflow_dispatch: # allows manual triggering
schedule:
- cron: '0 0 * * 6' # runs weekly on Saturday at 00:00
jobs:
lockfile:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@main
- name: Update flake.lock
uses: DeterminateSystems/update-flake-lock@main
with:
pr-title: "update" # Title of PR to be created
pr-labels: | # Labels to be set on the PR
automated