diff --git a/.github/workflows/download-packages-popularity.yml b/.github/workflows/download-packages-popularity.yml index 736623fab..e0d805b69 100644 --- a/.github/workflows/download-packages-popularity.yml +++ b/.github/workflows/download-packages-popularity.yml @@ -56,18 +56,12 @@ jobs: - name: download-packages-popularity run: npm run download-packages-popularity - ## FIX: https://github.com/github-actions-x/commit/issues/16 - - name: Expose git commit data - uses: rlespinasse/git-commit-data-action@v1 ## https://github.com/rlespinasse/git-commit-data-action - - name: push - uses: github-actions-x/commit@v2.9 + uses: EndBug/add-and-commit@v9 ## prevents forked repos from comitting results in PRs if: github.repository == 'moltar/typescript-runtime-type-benchmarks' with: - github-token: ${{ secrets.GITHUB_TOKEN }} - push-branch: master + author_name: ${{ env.GIT_COMMIT_AUTHOR_NAME }} + author_email: ${{ env.GIT_COMMIT_AUTHOR_EMAIL }} commit-message: 'feat: adds popularity of packages' - rebase: 'true' - name: ${{ env.GIT_COMMIT_AUTHOR_NAME }} ## FIX: https://github.com/github-actions-x/commit/issues/16 - email: ${{ env.GIT_COMMIT_AUTHOR_EMAIL }} ## FIX: https://github.com/github-actions-x/commit/issues/16 \ No newline at end of file + push: true \ No newline at end of file diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d07e8cda7..ac18264c9 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -72,21 +72,15 @@ jobs: - name: generate benchmarks with node run: ./start.sh NODE - ## FIX: https://github.com/github-actions-x/commit/issues/16 - - name: Expose git commit data - uses: rlespinasse/git-commit-data-action@v1 ## https://github.com/rlespinasse/git-commit-data-action - - name: push - uses: github-actions-x/commit@v2.9 + uses: EndBug/add-and-commit@v9 ## prevents forked repos from comitting results in PRs if: github.repository == 'moltar/typescript-runtime-type-benchmarks' with: - github-token: ${{ secrets.GITHUB_TOKEN }} - push-branch: master + author_name: ${{ env.GIT_COMMIT_AUTHOR_NAME }} + author_email: ${{ env.GIT_COMMIT_AUTHOR_EMAIL }} commit-message: 'feat: ${{ matrix.node-version }} adds auto-generated benchmarks and bar graph' - rebase: 'true' - name: ${{ env.GIT_COMMIT_AUTHOR_NAME }} ## FIX: https://github.com/github-actions-x/commit/issues/16 - email: ${{ env.GIT_COMMIT_AUTHOR_EMAIL }} ## FIX: https://github.com/github-actions-x/commit/issues/16 + push: true build-bun: name: "Bun ${{ matrix.bun-version }}" @@ -121,18 +115,12 @@ jobs: - name: generate benchmarks with bun run: ./start.sh BUN - ## FIX: https://github.com/github-actions-x/commit/issues/16 - - name: Expose git commit data - uses: rlespinasse/git-commit-data-action@v1 ## https://github.com/rlespinasse/git-commit-data-action - - name: push - uses: github-actions-x/commit@v2.9 + uses: EndBug/add-and-commit@v9 ## prevents forked repos from comitting results in PRs if: github.repository == 'moltar/typescript-runtime-type-benchmarks' with: - github-token: ${{ secrets.GITHUB_TOKEN }} - push-branch: master + author_name: ${{ env.GIT_COMMIT_AUTHOR_NAME }} + author_email: ${{ env.GIT_COMMIT_AUTHOR_EMAIL }} commit-message: 'feat: ${{ matrix.bun-version }} adds auto-generated benchmarks and bar graph' - rebase: 'true' - name: ${{ env.GIT_COMMIT_AUTHOR_NAME }} ## FIX: https://github.com/github-actions-x/commit/issues/16 - email: ${{ env.GIT_COMMIT_AUTHOR_EMAIL }} ## FIX: https://github.com/github-actions-x/commit/issues/16 + push: true