From f12810fb286cb3ebf401e13cfb657f118d853279 Mon Sep 17 00:00:00 2001 From: Bin Yang Date: Mon, 29 Mar 2021 16:06:22 -0400 Subject: [PATCH] modified commit & push action --- .github/workflows/repo_status_daily.yml | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/.github/workflows/repo_status_daily.yml b/.github/workflows/repo_status_daily.yml index 5189371..379450c 100644 --- a/.github/workflows/repo_status_daily.yml +++ b/.github/workflows/repo_status_daily.yml @@ -33,14 +33,7 @@ jobs: env: GIT_TOKEN: ${{ secrets.GIT_TOKEN }} - - 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 "Update repo status" -a - - - name: Push changes - uses: ad-m/github-push-action@master + - name: Commit & Push changes + uses: actions-js/push@master with: - github_token: ${{ secrets.GIT_TOKEN }} - branch: ${{ github.ref }} + github_token: ${{ secrets.GIT_TOKEN }} \ No newline at end of file