aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/update.yaml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/update.yaml')
-rw-r--r--.github/workflows/update.yaml22
1 files changed, 22 insertions, 0 deletions
diff --git a/.github/workflows/update.yaml b/.github/workflows/update.yaml
new file mode 100644
index 0000000..a109c9f
--- /dev/null
+++ b/.github/workflows/update.yaml
@@ -0,0 +1,22 @@
+name: update-flake-lock
+on:
+ workflow_dispatch:
+ schedule:
+ - cron: '0 6 * * *'
+
+jobs:
+ update-flake-lock:
+ runs-on: ubuntu-latest
+ steps:
+ - name: Checkout repository
+ uses: actions/checkout@v3
+ - name: Install Nix
+ uses: cachix/install-nix-action@v17
+ 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"