diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8d2b977..f599e66 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -79,7 +79,10 @@ jobs: - name: Push artifacts if: ${{ (github.event_name == 'push' || github.event.pull_request.merged == true) && needs.filter.outputs.any_changed == 'true' }} - run: | - git config --global user.email "noreply@github.com" - git config --global user.name "CI" - git diff --quiet || (git add -A && git commit -m "build: update bundled artifacts [skip ci]" && git push) + uses: peter-evans/create-pull-request@v5 + with: + token: ${{ secrets.PAT }} + title: Update bundled artifacts + commit-message: Update bundled artifacts + branch: update-artifacts + base: main