Update Github Workflows (#2)

* Update sync-mainline.yaml

* Update sync-staging.yaml

* Update formatting.yml
このコミットが含まれているのは:
Elwazir, Ammar
2025-01-08 09:50:04 -06:00
committed by GitHub
コミット 11c9259043
3個のファイルの変更6行の追加38行の削除
-30
ファイルの表示
@@ -46,16 +46,6 @@ jobs:
exit 1
fi
- name: Create pull request
if: failure()
uses: peter-evans/create-pull-request@v5
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 }}
source:
runs-on: ubuntu-22.04
@@ -88,16 +78,6 @@ jobs:
exit 1
fi
- name: Create pull request
if: failure()
uses: peter-evans/create-pull-request@v5
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 }}
python:
runs-on: ubuntu-22.04
strategy:
@@ -134,13 +114,3 @@ jobs:
git diff
exit 1
fi
- name: Create pull request
if: failure()
uses: peter-evans/create-pull-request@v5
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 }}
+3 -4
ファイルの表示
@@ -9,10 +9,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: git-sync
uses: wei/git-sync@v3
uses: AMD-ROCm-Internal/rocprofiler-github-actions@git-sync-v3
with:
source_repo: "git@github.com:ROCm/rocprofiler-register-internal.git"
source_repo: "https://${{ secrets.TOKEN }}@github.com/AMD-ROCm-Internal/rocprofiler-register-internal.git"
source_branch: "amd-mainline"
destination_repo: "git@github.com:ROCm/rocprofiler-register.git"
destination_repo: "https://${{ secrets.EXT_TOKEN }}@github.com/ROCm/rocprofiler-register.git"
destination_branch: "amd-mainline"
ssh_private_key: ${{ secrets.SSH_PRIVATE_KEY }}
+3 -4
ファイルの表示
@@ -9,10 +9,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: git-sync
uses: wei/git-sync@v3
uses: AMD-ROCm-Internal/rocprofiler-github-actions@git-sync-v3
with:
source_repo: "git@github.com:ROCm/rocprofiler-register-internal.git"
source_repo: "https://${{ secrets.TOKEN }}@github.com/AMD-ROCm-Internal/rocprofiler-register-internal.git"
source_branch: "amd-staging"
destination_repo: "git@github.com:ROCm/rocprofiler-register.git"
destination_repo: "https://${{ secrets.EXT_TOKEN }}@github.com/ROCm/rocprofiler-register.git"
destination_branch: "amd-staging"
ssh_private_key: ${{ secrets.SSH_PRIVATE_KEY }}