From b7e3d74e6e910842050da48967cebf335df5aff2 Mon Sep 17 00:00:00 2001 From: Antoine Vaure Date: Mon, 22 Sep 2025 16:31:11 +0200 Subject: [PATCH] add workflow to update flake inputs --- .forgejo/workflows/nix-inputs-update.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 .forgejo/workflows/nix-inputs-update.yml diff --git a/.forgejo/workflows/nix-inputs-update.yml b/.forgejo/workflows/nix-inputs-update.yml new file mode 100644 index 0000000..5f111e9 --- /dev/null +++ b/.forgejo/workflows/nix-inputs-update.yml @@ -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 origin HEAD:refs/for/update-nix-inputs -o topic="Update flake inputs $(date +'%d/%m/%Y')"