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()