From 18c14a84e1c23000b72920e5b35a08ec10cd5222 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?m=C3=BCde?= Date: Sun, 13 Sep 2026 18:27:29 +0200 Subject: [PATCH] flake update may not be nightly --- .../{nightly-flake-update.yaml => flake-update.yaml} | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) rename .forgejo/workflows/{nightly-flake-update.yaml => flake-update.yaml} (77%) diff --git a/.forgejo/workflows/nightly-flake-update.yaml b/.forgejo/workflows/flake-update.yaml similarity index 77% rename from .forgejo/workflows/nightly-flake-update.yaml rename to .forgejo/workflows/flake-update.yaml index 46d0ffa..6814546 100644 --- a/.forgejo/workflows/nightly-flake-update.yaml +++ b/.forgejo/workflows/flake-update.yaml @@ -1,4 +1,4 @@ -name: nightly flake update +name: flake update on: schedule: @@ -19,15 +19,15 @@ jobs: branch="flake-update-$(date +%F)" git checkout -b "$branch" - git -c user.name="flake-bot" -c user.email="flake-bot@darkest.space" \ - commit -am "flake: nightly update" + git -c user.name="flake-bot" -c user.email="git+flake-bot@darkest.space" \ + commit -am "nix flake update" git push "https://flake-bot:${PR_BOT_TOKEN}@forge.darkest.space/mara/nixos-configs.git" "$branch" curl -sf -X POST \ -H "Authorization: token ${PR_BOT_TOKEN}" \ -H "Content-Type: application/json" \ -d "$(jq -n --arg h "$branch" \ - '{title: "flake: nightly update", head: $h, base: "main"}')" \ + '{title: "nix flake update", head: $h, base: "main"}')" \ "https://forge.darkest.space/api/v1/repos/mara/nixos-configs/pulls" env: PR_BOT_TOKEN: ${{ secrets.PR_BOT_TOKEN }}