diff --git a/projects/rocprofiler-sdk/.github/workflows/formatting.yml b/projects/rocprofiler-sdk/.github/workflows/formatting.yml index 76695d386b..9d6bf956d4 100644 --- a/projects/rocprofiler-sdk/.github/workflows/formatting.yml +++ b/projects/rocprofiler-sdk/.github/workflows/formatting.yml @@ -48,13 +48,9 @@ jobs: - name: Create pull request if: failure() - uses: peter-evans/create-pull-request@v6 + uses: parkerbxyz/suggest-changes@v1 with: - commit-message: "cmake formatting (cmake-format)" - branch: ${{ steps.extract_branch.outputs.branch }}-cmake-format - delete-branch: true - title: "Format cmake code (via cmake-format) on ${{ steps.extract_branch.outputs.branch }}" - base: ${{ steps.extract_branch.outputs.branch }} + comment: 'Please commit the suggested changes from cmake formatting (cmake-format).' source: runs-on: ubuntu-22.04 @@ -90,13 +86,9 @@ jobs: - name: Create pull request if: failure() - uses: peter-evans/create-pull-request@v6 + uses: parkerbxyz/suggest-changes@v1 with: - commit-message: "source formatting (clang-format v11)" - branch: ${{ steps.extract_branch.outputs.branch }}-clang-format - delete-branch: true - title: "Format source code (via clang-format v11) on ${{ steps.extract_branch.outputs.branch }}" - base: ${{ steps.extract_branch.outputs.branch }} + comment: 'Please commit the suggested changes from source formatting (clang-format v11).' python: runs-on: ubuntu-22.04 @@ -137,10 +129,6 @@ jobs: - name: Create pull request if: failure() - uses: peter-evans/create-pull-request@v6 + uses: parkerbxyz/suggest-changes@v1 with: - commit-message: "python formatting (black)" - branch: ${{ steps.extract_branch.outputs.branch }}-python-format - delete-branch: true - title: "Format python code (via black) on ${{ steps.extract_branch.outputs.branch }}" - base: ${{ steps.extract_branch.outputs.branch }} + comment: 'Please commit the suggested changes from python formatting (black).'