Formatting as suggestion in the same branch (#711)

* Update formatting.yml

* Update agent.cpp

* Update agent.cpp

[ROCm/rocprofiler-sdk commit: e6237637eb]
Этот коммит содержится в:
Ammar ELWazir
2024-04-01 13:11:09 -05:00
коммит произвёл GitHub
родитель 80dee55f75
Коммит 58addf80dc
+6 -18
Просмотреть файл
@@ -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).'