From a7b2b2f46dc7da9266eddc92a83195dca5587f98 Mon Sep 17 00:00:00 2001 From: sai nivas mangu <74004229+linuxdotexe@users.noreply.github.com> Date: Tue, 15 Mar 2022 21:34:16 +0530 Subject: [PATCH] Update main.yml --- .github/workflows/main.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 16b871f..014fc52 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -26,10 +26,11 @@ jobs: run: | sed -i '1 i\# Wallpapers in this repository' wallpaper-preview.md sed -i '/# Wallpapers/ a \ ' wallpaper-preview.md - - name: Commit wallpaper-preview.md - uses: EndBug/add-and-commit@v9 - with: - message: 'Auto updated preview' + - name: Commit files + run: | + git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com" + git config --local user.name "github-actions[bot]" + git commit -m "Auto update" -a - name: Push changes # push the output folder to your repo run: echo 'I ran' - uses: ad-m/github-push-action@master