From 721aaa721b0817c67c66da7e9e8662c0c42d93f3 Mon Sep 17 00:00:00 2001 From: Minionguyjpro Date: Thu, 11 Jan 2024 17:51:26 +0100 Subject: [PATCH] Update test.yml --- .github/workflows/test.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 63958be..4188eba 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -36,18 +36,18 @@ jobs: GITHUB_TOKEN: ${{ secrets.PAT_TO_PUSH }} NPM_TOKEN: ${{ secrets.NPM_TOKEN }} - - name: Commit files + - name: Setup GitHub Actions bot run: | git config --local user.email "github-actions[bot]@users.noreply.github.com" git config --local user.name "github-actions[bot]" - git add -A - git commit -a -m "Update CJS script (automated by GitHub Actions)" - - name: Push changes - uses: ad-m/github-push-action@master + - name: Commit and push changes + uses: devops-infra/action-commit-push@master with: - github_token: ${{ secrets.GITHUB_TOKEN }} - branch: ${{ github.ref }} + github_token: "${{ secrets.GITHUB_TOKEN }}" + commit_prefix: "[AUTO]" + commit_message: "Update CJS script" + test: needs: build runs-on: windows-latest