nix-system/.forgejo/workflows/nix-inputs-update.yml
Antoine Vaure b7e3d74e6e
Some checks failed
/ build-all (push) Has been cancelled
add workflow to update flake inputs
2025-09-23 16:29:36 +02:00

12 lines
501 B
YAML

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 origin HEAD:refs/for/update-nix-inputs -o topic="Update flake inputs $(date +'%d/%m/%Y')"