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')"