aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/update.yml
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--.github/workflows/flake-updater.yml (renamed from .github/workflows/update.yml)17
1 files changed, 6 insertions, 11 deletions
diff --git a/.github/workflows/update.yml b/.github/workflows/flake-updater.yml
index af05bdf..dde25ee 100644
--- a/.github/workflows/update.yml
+++ b/.github/workflows/flake-updater.yml
@@ -1,24 +1,19 @@
-name: "Update flake.lock"
+name: ❄️ Flake Lock Updater
+
on:
workflow_dispatch:
schedule:
- cron: "30 5 * * 0"
+
# you need to grant permissions to create PR:
# https://github.com/DeterminateSystems/update-flake-lock/issues/75
jobs:
update-flake-lock:
runs-on: ubuntu-latest
steps:
- - name: Checkout repository
- uses: actions/checkout@v4
- - name: Install Nix
- uses: cachix/install-nix-action@V27
- with:
- extra_nix_config: |
- access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
- - name: Update flake.lock
- id: update-flake-lock
- uses: DeterminateSystems/update-flake-lock@v23
+ - uses: actions/checkout@v4
+ - uses: DeterminateSystems/nix-installer-action@v14
+ - uses: DeterminateSystems/update-flake-lock@v24
with:
pr-title: "Update flake.lock"
commit-msg: "chore: update flake"