mirror of
https://github.com/Moe1369/nix-fleet.git
synced 2026-04-24 15:59:06 +02:00
flake workflow
This commit is contained in:
23
.github/workflows/update.yml
vendored
Normal file
23
.github/workflows/update.yml
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
name: Update flake inputs
|
||||
|
||||
on:
|
||||
schedule:
|
||||
- cron: '0 4 * * 1' # every Monday at 4am
|
||||
workflow_dispatch: # allow manual trigger
|
||||
|
||||
jobs:
|
||||
update:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: DeterminateSystems/nix-installer-action@main
|
||||
- name: Update flake inputs
|
||||
run: nix flake update
|
||||
|
||||
- name: Create Pull Request
|
||||
uses: peter-evans/create-pull-request@v6
|
||||
with:
|
||||
commit-message: "flake: update inputs"
|
||||
title: "flake: update inputs"
|
||||
branch: flake-update
|
||||
delete-branch: true
|
||||
Reference in New Issue
Block a user