summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2022-11-08 15:20:44 +0100
committerMatthias Beyer <mail@beyermatthias.de>2022-11-08 15:20:44 +0100
commit93b98dbbd1be383907883b14dd0a61de272762c1 (patch)
tree3256cd61dfa7e7833b576595314252eae0f00960
parentb13005d24f322d91e26f6343665128ca431e96fa (diff)
Add flake update workflow
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
-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..bf9aff1
--- /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@v18
+ with:
+ extra_nix_config: |
+ access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
+ - name: Update flake.lock
+ uses: DeterminateSystems/update-flake-lock@v14
+ with:
+ pr-title: "Update flake.lock" # Title of PR to be created
+ # pr-labels: | # Labels to be set on the PR
+ # dependencies
+ # automated
+