Use github app for develop to amd-staging sync

* Use the token for rocprofiler-compute-runner github app to perform
  auth to bypass amd-staging branch protection


[ROCm/rocprofiler-compute commit: 25b6bbbb3c]
このコミットが含まれているのは:
Vignesh Edithal authored and vedithal-amd committed 2025-02-03 13:41:14 -05:00
1 親 bdd0bd0955
コミット e68c297cb2
1ファイル変更
+8 -2
+8 -2
ファイルの表示
@@ -10,15 +10,21 @@ jobs:
runs-on: ubuntu-latest
name: Promote Develop to Staging
steps:
- name: Generate a token
id: generate-token
uses: actions/create-github-app-token@v1
with:
app-id: ${{ secrets.ROCPROFILER_COMPUTE_RUNNER_APP_APP_ID }}
private-key: ${{ secrets.ROCPROFILER_COMPUTE_RUNNER_APP_PRIVATE_KEY }}
- name: Checkout
uses: actions/checkout@v4
with:
ref: develop
fetch-depth: '0'
token: ${{ steps.generate-token.outputs.token }}
- name: Merge - Fast Forward Only
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
git checkout amd-staging
git merge origin/develop --ff-only