From fddf3154c1445fb0fd18a50982a19b6a09e92b1c Mon Sep 17 00:00:00 2001 From: DevOps asdf Date: Tue, 23 Jul 2024 18:48:58 -0400 Subject: [PATCH] Chat GPT updated the script --- .github/workflows/chatgptmadethis.yaml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/chatgptmadethis.yaml b/.github/workflows/chatgptmadethis.yaml index 44574b4..e3129b4 100644 --- a/.github/workflows/chatgptmadethis.yaml +++ b/.github/workflows/chatgptmadethis.yaml @@ -25,10 +25,9 @@ jobs: git config --global user.name 'github-actions[bot]' git config --global user.email '41898282+github-actions[bot]@users.noreply.github.com' git add . - git commit -m "Automated update by GitHub Action" - git push + git commit -m "Automated update by GitHub Action" || echo "No changes to commit" - name: Push changes - uses: ad-m/github-push-action@master + uses: ad-m/github-push-action@v0.6.0 with: github_token: ${{ secrets.GITHUB_TOKEN }}