From 2caafc7308a5ab5dce36e53778d869079d43b70d Mon Sep 17 00:00:00 2001 From: DIYgod Date: Mon, 11 Aug 2025 14:22:58 +0800 Subject: [PATCH] chore: enhance build process by adding git add command before commit --- .github/workflows/build-assets.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/build-assets.yml b/.github/workflows/build-assets.yml index c8146f684..4e23e6c50 100644 --- a/.github/workflows/build-assets.yml +++ b/.github/workflows/build-assets.yml @@ -106,5 +106,6 @@ jobs: cd rsshub-vercel git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com" git config --local user.name "github-actions[bot]" + git add -A git status git diff-index --quiet HEAD || (git commit -m "chore: auto build https://github.com/$GITHUB_REPOSITORY/commit/$GITHUB_SHA" -a --no-verify && git push "https://${GITHUB_ACTOR}:${{ secrets.VERCEL_API_TOKEN }}@github.com/RSSNext/rsshub-vercel.git" HEAD:main)