From ff8c8aaa47cd4f93a25821277192e4f49c212239 Mon Sep 17 00:00:00 2001
From: albert <albert@sysctl.io>
Date: Tue, 4 Feb 2025 12:29:04 -0800
Subject: [PATCH] Update workflow

---
 .forgejo/workflows/update-flake-lock.yml | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/.forgejo/workflows/update-flake-lock.yml b/.forgejo/workflows/update-flake-lock.yml
index a3d4f772..56f5ef4b 100644
--- a/.forgejo/workflows/update-flake-lock.yml
+++ b/.forgejo/workflows/update-flake-lock.yml
@@ -18,6 +18,12 @@ jobs:
         run: nix flake update
       - name: Check flake
         uses: actions/flake-checker-action@main
+      - name: Commit and Push
+        if: success()
+        run: |
+          git config --global user.name '${{ github.actor }}'
+          git commit -am "[${{ github.job }}] [ACT] Flake Lock Update"
+          git push
       - name: Send Notification
         uses: actions/gotify-action@master
         if: always()