Commit d459c76
Changed files (1)
.forgejo
workflows
.forgejo/workflows/update-flake.yml
@@ -0,0 +1,27 @@
+name: Update flake dependencies
+
+on:
+ schedule:
+ - cron: "0 0 * * 1"
+ workflow_dispatch:
+
+jobs:
+ update-flake:
+ runs-on: nixos-latest
+ steps:
+ - name: Checkout repository
+ uses: actions/checkout@v4
+
+ - name: Update flake.lock
+ run: nix flake update
+
+ - name: Create pull request
+ uses: peter-evans/create-pull-request@v7
+ with:
+ branch: update/flake-deps
+ commit-message: "chore: update flake.lock"
+ title: "chore: update flake.lock"
+ body: |
+ Weekly automatic update of flake dependencies.
+ Runs `nix flake update` on nixos-latest.
+ delete-branch: true