Skip to content

Commit 48d625e

Browse files
committed
run only on release branches
1 parent eb4ce92 commit 48d625e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -430,7 +430,7 @@ jobs:
430430
needs: build-unsigned-snapshot
431431
permissions:
432432
contents: write
433-
if: ${{ startsWith(github.head_ref, 'pgo-') && !github.event.pull_request.head.repo.fork }}
433+
if: ${{ startsWith(github.head_ref, 'release-') && !github.event.pull_request.head.repo.fork }}
434434
steps:
435435
- name: Checkout
436436
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
@@ -482,5 +482,6 @@ jobs:
482482
git config --global user.name 'github-actions'
483483
git config --global user.email '41898282+github-actions[bot]@users.noreply.github.com'
484484
git add default.pgo
485-
git commit -m "CI Autogenerated" -- ${{ steps.artifact-upload-step.outputs.artifact-id }} || echo "No changes to commit"
485+
git commit -m "Update pgo profile -- CI Autogenerated" -- ${{ steps.artifact-upload-step.outputs.artifact-id }} || echo "No changes to commit"
486486
git log -1
487+
git push

0 commit comments

Comments
 (0)