Skip to content
This repository has been archived by the owner on Aug 27, 2024. It is now read-only.

Commit

Permalink
ci: add flake auto-update workflow
Browse files Browse the repository at this point in the history
Signed-off-by: Roman Volosatovs <[email protected]>
  • Loading branch information
rvolosatovs committed Dec 9, 2022
1 parent fde8b5d commit b800289
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/update.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Update

on:
schedule:
- cron: "0 0 * * *"
workflow_dispatch:

jobs:
nix-update:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: nixbuild/nix-quick-install-action@v19
with:
nix_conf: |
experimental-features = nix-command flakes
access-tokens = github.com=${{ github.token }}
- uses: jessestricker/nix-flake-update@v1
id: nix-update
- uses: peter-evans/create-pull-request@v4
with:
branch: nix-update
commit-message: "build(nix): update flake lock"
title: "build(nix): update flake lock"
body: ${{ steps.nix-update.outputs.pull-request-body }}
labels: dependencies, nix
assignees: |
rvolosatovs
signoff: true

0 comments on commit b800289

Please sign in to comment.