Create update.yml

This commit is contained in:
Sanjay Chacku Purakal 2024-04-24 12:55:13 +02:00 committed by GitHub
parent 30c8297464
commit 005e1c3e15
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

20
.github/workflows/update.yml vendored Normal file
View file

@ -0,0 +1,20 @@
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