diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 408d953..e9e5360 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -35,6 +35,17 @@ jobs: GITHUB_TOKEN: ${{ secrets.PAT_TO_PUSH }} NPM_TOKEN: ${{ secrets.NPM_TOKEN }} + - name: Commit files + run: | + git config --local user.email "github-actions[bot]@users.noreply.github.com" + git config --local user.name "github-actions[bot]" + git commit -a -m "Update CJS script (automated by GitHub Actions)" + + - name: Push changes + uses: ad-m/github-push-action@master + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + branch: ${{ github.ref }} test: needs: build runs-on: windows-latest