Skip to content

Commit

Permalink
Use more self-descriptive title and body for PGO PR.
Browse files Browse the repository at this point in the history
  • Loading branch information
1pkg committed Aug 26, 2024
1 parent ef3ca41 commit eed7373
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/benchmarks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ jobs:
path: ${{ env.WORKING_DIRECTORY }}/${{ env.BENCHMARK_CPU_OUT }}
if-no-files-found: error

- name: Open update PGO PR
- name: Open PGO PR
run: |
cd "${{ github.workspace }}"
cp "$PROFILE_PATH" x-pack/apm-server/default.pgo
Expand All @@ -195,7 +195,7 @@ jobs:
git add x-pack/apm-server/default.pgo cmd/apm-server/default.pgo
git commit -m "PGO: Update default.pgo from benchmarks $WORKFLOW."
git push -u origin "$BRANCH"
gh pr create -B main -H "$BRANCH" -f -R elastic/apm-server
gh pr create -B main -H "$BRANCH" --t "PGO: Update default.pgo" --b "Update default.pgo CPU profile from the benchmarks [workflow]($WORKFLOW)." -R elastic/apm-server
env:
PROFILE_PATH: ${{ env.WORKING_DIRECTORY }}/${{ env.BENCHMARK_CPU_OUT }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit eed7373

Please sign in to comment.