aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/update.yml
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2024-12-27 07:49:56 -0800
committerFranck Cuny <franck@fcuny.net>2024-12-27 07:49:56 -0800
commit6d59b5676c48e738f49e1bad94bbe4e438942750 (patch)
treeebcf17de14282d1c0f63c6312271b1d6e5e89f74 /.github/workflows/update.yml
parentremove configuration file for treefmt (diff)
downloadfcuny.net-6d59b5676c48e738f49e1bad94bbe4e438942750.tar.gz
update some of the workflows
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"