From d54c7952650ceb9d09a030cf565bc74558289e63 Mon Sep 17 00:00:00 2001 From: andatoshiki Date: Tue, 28 Mar 2023 18:52:33 +0800 Subject: [PATCH] ci: fix ci push commit and exxit after committed --- .github/workflows/rss.yml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/workflows/rss.yml b/.github/workflows/rss.yml index 672adcf..4068595 100644 --- a/.github/workflows/rss.yml +++ b/.github/workflows/rss.yml @@ -28,9 +28,6 @@ jobs: git diff git config --global user.email "hello@toshiki.dev" git config --global user.name "@andatoshiki" - git add . - git commit -m 'chore(update): update readme with the latest rss feeds' - git push -f origin master - with: - github_token: ${{ secrets.GH_PAT }} - branch: ${{ github.ref }} \ No newline at end of file + git add -A + git commit -m 'chore(update): update readme with the latest rss feeds' || exit 0 + git push -f origin master \ No newline at end of file