summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSomeone Serge <sergei.kozlukov@aalto.fi>2023-12-30 16:38:36 +0000
committerPhilip Taron <philip.taron@gmail.com>2023-12-31 13:14:58 -0800
commitc5239944bab0ff71915df8f2dc7e42fc2c138ff6 (patch)
tree68bb1e5b73d3b5c1817ce92a534f598fdfd7d130
parent1e9ae54cf24d27afe3900d1250634a2a33423db1 (diff)
workflows: weekly `nix flake update`
-rw-r--r--.github/workflows/nix-flake-update.yml22
1 files changed, 22 insertions, 0 deletions
diff --git a/.github/workflows/nix-flake-update.yml b/.github/workflows/nix-flake-update.yml
new file mode 100644
index 00000000..fa936084
--- /dev/null
+++ b/.github/workflows/nix-flake-update.yml
@@ -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 }}