add workflow to update flake inputs
All checks were successful
/ build-all (push) Successful in 1m13s

This commit is contained in:
Antoine Vaure 2025-09-22 16:31:11 +02:00 committed by ant
parent c0d5c30418
commit 7424bb594e

View file

@ -0,0 +1,12 @@
name: "Update Flake Packages ❄️"
on:
workflow_dispatch:
jobs:
updateFlakePackages:
runs-on: native
steps:
- run: git clone -q -b $FORGEJO_REF_NAME https://forgejo:$GITHUB_TOKEN@git.antoinevaure.fr/$GITHUB_REPOSITORY .
- run: git checkout -b update-nix-inputs
- run: nix flake update
- run: git commit -a -m "Update flake inputs $(date +'%d/%m/%Y')"
- run: git push --force --set-upstream origin update-nix-inputs