From 707de21975b6bb11b87afd352e69842c4a1897b9 Mon Sep 17 00:00:00 2001 From: andatoshiki Date: Tue, 28 Mar 2023 17:41:04 +0800 Subject: [PATCH] fix: use seperate action for pushing changed commits to repo --- .github/workflows/rss.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/rss.yml b/.github/workflows/rss.yml index c6256cc..48279b8 100644 --- a/.github/workflows/rss.yml +++ b/.github/workflows/rss.yml @@ -30,4 +30,8 @@ jobs: 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 \ No newline at end of file + - name: Push changes + uses: ad-m/github-push-action@master + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + branch: ${{ github.ref }} \ No newline at end of file