File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -481,10 +481,11 @@ jobs:
481481 run : |
482482 git config --global user.name 'github-actions'
483483 git config --global user.email '41898282+github-actions[bot]@users.noreply.github.com'
484+ git checkout -b ${{ github.ref_name }}-update-profile
484485 git add default.pgo
485486 git commit -m "Update pgo profile -- CI Autogenerated" -- ${{ steps.artifact-upload-step.outputs.artifact-id }} || echo "No changes to commit"
486487 git log -1
487- git push
488+ git push -u origin ${{ github.ref_name }}-update-profile
488489
489490 - name : Open Pull Request
490491 uses : actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
@@ -496,8 +497,8 @@ jobs:
496497 title: 'Update pgo profile',
497498 owner,
498499 repo,
499- head: '${{ github.ref_name }}',
500- base: 'main ',
500+ head: '${{ github.ref_name }}-update-profile ',
501+ base: '${{ github.ref_name }} ',
501502 state: 'open'
502503 });
503504 if (pullRequests.length > 0) {
You can’t perform that action at this time.
0 commit comments