]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commitdiff
workflows: weekly `nix flake update`
authorSomeone Serge <redacted>
Sat, 30 Dec 2023 16:38:36 +0000 (16:38 +0000)
committerPhilip Taron <redacted>
Sun, 31 Dec 2023 21:14:58 +0000 (13:14 -0800)
.github/workflows/nix-flake-update.yml [new file with mode: 0644]

diff --git a/.github/workflows/nix-flake-update.yml b/.github/workflows/nix-flake-update.yml
new file mode 100644 (file)
index 0000000..fa93608
--- /dev/null
@@ -0,0 +1,22 @@
+name: update-flake-lock
+on:
+  workflow_dispatch:
+  schedule:
+    - cron: '0 0 * * 0' # runs weekly on Sunday at 00:00
+
+jobs:
+  lockfile:
+    runs-on: ubuntu-latest
+    steps:
+      - name: Checkout repository
+        uses: actions/checkout@v4
+      - name: Install Nix
+        uses: DeterminateSystems/nix-installer-action@main
+      - name: Update flake.lock
+        uses: DeterminateSystems/update-flake-lock@main
+        with:
+          pr-title: "nix: update flake.lock"
+          pr-labels: |
+            nix
+          pr-reviewers: philiptaron,SomeoneSerge
+          token: ${{ secrets.GITHUB_TOKEN }}