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