aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--.github/workflows/flake-updater.yml24
1 files changed, 24 insertions, 0 deletions
diff --git a/.github/workflows/flake-updater.yml b/.github/workflows/flake-updater.yml
new file mode 100644
index 0000000..33713b1
--- /dev/null
+++ b/.github/workflows/flake-updater.yml
@@ -0,0 +1,24 @@
+name: ❄️ Flake Lock Updater
+
+on:
+ workflow_dispatch:
+ schedule:
+ - cron: "30 5 * * 0"
+
+# you need to grant permissions to create PR:
+# https://github.com/DeterminateSystems/update-flake-lock/issues/75
+jobs:
+ update-flake-lock:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v4
+ - uses: DeterminateSystems/nix-installer-action@v16
+ - uses: DeterminateSystems/update-flake-lock@v24
+ with:
+ token: ${{ secrets.GH_TOKEN_FOR_UPDATES }}
+ pr-title: "Update flake.lock"
+ commit-msg: "chore: update flake"
+ pr-assignees: fcuny
+ pr-labels: |
+ dependencies
+ automated