about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2023-08-20 17:59:52 -0700
committerFranck Cuny <franck@fcuny.net>2023-08-20 17:59:52 -0700
commit0f21700b1b2dd6b7b68dc7fa2f393d120f45d28b (patch)
tree12174bed27febcbbcbe9d03c9e5785d44445d85c
parentremove unused configurations (diff)
downloadfcuny.net-0f21700b1b2dd6b7b68dc7fa2f393d120f45d28b.tar.gz
add a couple more workflows
-rw-r--r--.github/dependabot.yml6
-rw-r--r--.github/workflows/update.yml22
2 files changed, 28 insertions, 0 deletions
diff --git a/.github/dependabot.yml b/.github/dependabot.yml
new file mode 100644
index 0000000..5ace460
--- /dev/null
+++ b/.github/dependabot.yml
@@ -0,0 +1,6 @@
+version: 2
+updates:
+  - package-ecosystem: "github-actions"
+    directory: "/"
+    schedule:
+      interval: "weekly"
diff --git a/.github/workflows/update.yml b/.github/workflows/update.yml
new file mode 100644
index 0000000..92fdbc5
--- /dev/null
+++ b/.github/workflows/update.yml
@@ -0,0 +1,22 @@
+name: update-flake-lock
+on:
+  workflow_dispatch:
+  schedule:
+    - cron: '30 5 * * 0'
+
+jobs:
+  update-flake-lock:
+    runs-on: ubuntu-latest
+    steps:
+      - name: Checkout repository
+        uses: actions/checkout@v3
+      - name: Install Nix
+        uses: cachix/install-nix-action@v18
+        with:
+          extra_nix_config: |
+            access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
+      - name: Update flake.lock
+        id: update-flake-lock
+        uses: DeterminateSystems/update-flake-lock@v14
+        with:
+          pr-title: "Update flake.lock"