From 7277f71b9c3806a4aee3b9ad65815a7ea619c0b1 Mon Sep 17 00:00:00 2001 From: Oskar Manhart <52569953+oskardotglobal@users.noreply.github.com> Date: Tue, 22 Oct 2024 21:04:17 +0200 Subject: [PATCH] feat: auto-update flake weekly --- .github/workflows/update-nix.yaml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/update-nix.yaml diff --git a/.github/workflows/update-nix.yaml b/.github/workflows/update-nix.yaml new file mode 100644 index 0000000..8203da5 --- /dev/null +++ b/.github/workflows/update-nix.yaml @@ -0,0 +1,19 @@ +name: "Update Flake Packages" + +on: + workflow_dispatch: + schedule: + - cron: "0 10 * * 0" # https://crontab.guru/#0_10_*_*_0 + +jobs: + updateFlakePackages: + runs-on: ubuntu-latest + steps: + - name: Checkout repository + uses: actions/checkout@v3 + + - name: Install Nix + uses: cachix/install-nix-action@v20 + + - name: Update flake packages + uses: selfuryon/nix-update-action@v1