From 5aa77462ac1381b97ede637566d80d0b9d2b958d Mon Sep 17 00:00:00 2001 From: Tevin Date: Fri, 20 Dec 2024 11:36:55 +0800 Subject: [PATCH] Update auto-update.yml --- .github/workflows/auto-update.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/auto-update.yml b/.github/workflows/auto-update.yml index a95cf2e..32e214e 100644 --- a/.github/workflows/auto-update.yml +++ b/.github/workflows/auto-update.yml @@ -18,11 +18,10 @@ jobs: run: | git config --local user.email "action@github.com" git config --local user.name "GitHub Action" - git config --global --add safe.directory /github/workspace git add github-markdown.css git commit -m "Auto update" || true - name: Push back - uses: ad-m/github-push-action@v0.5.0 + uses: ad-m/github-push-action@v0.6.0 with: # Token for the repo. Can be passed in using ${{ secrets.GITHUB_TOKEN }} github_token: ${{ secrets.GITHUB_TOKEN }}