mirror of
https://github.com/Moe1369/nix-fleet.git
synced 2026-04-24 15:59:06 +02:00
24 lines
642 B
YAML
24 lines
642 B
YAML
name: Update flake inputs
|
|
on:
|
|
schedule:
|
|
- cron: '0 23 * * *'
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
update:
|
|
runs-on: ubuntu-latest
|
|
permissions:
|
|
contents: write
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: DeterminateSystems/nix-installer-action@main
|
|
- name: Update flake inputs
|
|
run: nix flake update
|
|
- name: Commit and push
|
|
run: |
|
|
git config user.name "github-actions[bot]"
|
|
git config user.email "github-actions[bot]@users.noreply.github.com"
|
|
git add flake.lock
|
|
git commit -m "flake: update inputs" || echo "No changes to commit"
|
|
git push
|