summaryrefslogtreecommitdiffstats
path: root/.github/workflows/flake-update.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/flake-update.yml')
-rw-r--r--.github/workflows/flake-update.yml28
1 files changed, 28 insertions, 0 deletions
diff --git a/.github/workflows/flake-update.yml b/.github/workflows/flake-update.yml
new file mode 100644
index 0000000..efe57c5
--- /dev/null
+++ b/.github/workflows/flake-update.yml
@@ -0,0 +1,28 @@
+name: "Update flakes"
+
+on:
+ repository_dispatch:
+ workflow_dispatch:
+ schedule:
+ # 01:15 every monday
+ - cron: '15 1 * * 1'
+
+jobs:
+ lockfile:
+ runs-on: ubuntu-latest
+ steps:
+ - name: Checkout repository
+ uses: actions/checkout@v3
+ - name: Install Nix
+ uses: cachix/install-nix-action@v22
+ with:
+ extra_nix_config: |
+ access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
+ - name: Update flake.lock
+ uses: DeterminateSystems/update-flake-lock@v20
+ with:
+ pr-title: "Update flake.lock" # Title of PR to be created
+ # pr-labels: | # Labels to be set on the PR
+ # dependencies
+ # automated
+