summaryrefslogtreecommitdiff
path: root/.github/workflows/update-flake.yaml
diff options
context:
space:
mode:
authorseth <[email protected]>2024-05-30 07:00:28 -0400
committerseth <[email protected]>2024-05-30 07:19:01 -0400
commit936db5739a58ad5d01810c60e8ebebafc93f00ab (patch)
treefd8762027d465c68f8fffdcd78fccd40a1778f94 /.github/workflows/update-flake.yaml
initial commit
Diffstat (limited to '.github/workflows/update-flake.yaml')
-rw-r--r--.github/workflows/update-flake.yaml27
1 files changed, 27 insertions, 0 deletions
diff --git a/.github/workflows/update-flake.yaml b/.github/workflows/update-flake.yaml
new file mode 100644
index 0000000..8430a2c
--- /dev/null
+++ b/.github/workflows/update-flake.yaml
@@ -0,0 +1,27 @@
+name: Update flake.lock
+
+on:
+ schedule:
+ # run every saturday
+ - cron: "0 0 * * 6"
+ workflow_dispatch:
+
+jobs:
+ update:
+ name: Run update
+
+ runs-on: ubuntu-latest
+
+ permissions:
+ contents: write
+ pull-requests: write
+
+ steps:
+ - name: Checkout repository
+ uses: actions/checkout@v4
+
+ - name: Install Nix
+ uses: DeterminateSystems/nix-installer-action@v11
+
+ - name: Update lockfile & make PR
+ uses: DeterminateSystems/update-flake-lock@v21