diff --git a/.github/workflows/weekly_sortjson.yaml b/.github/workflows/weekly_sortjson.yaml index c531eb0ce..d0715ebe0 100644 --- a/.github/workflows/weekly_sortjson.yaml +++ b/.github/workflows/weekly_sortjson.yaml @@ -22,10 +22,9 @@ jobs: echo "::set-output name=changed::1" done shell: bash - - name: Create New Pull Request If Needed + - name: Commit if needed if: steps.sort.outputs.changed != '' - uses: peter-evans/create-pull-request@v3 + uses: EndBug/add-and-commit@v9 with: - title: "Github bot : json sorted" - branch-suffix: timestamp - commit-message: "Github bot : json sorted" + message: "Github bot : json sorted" + default_author: github_actions