Skip to content

Commit f96b092

Browse files
authored
Update ci_pipeline.yml
1 parent eec4be6 commit f96b092

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/ci_pipeline.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,11 @@ jobs:
6060
echo "${{ github.event.pull_request.head.sha }}"
6161
echo "${GITHUB_REF:11}"
6262
echo "$(git symbolic-ref --short HEAD)"
63+
echo "$(jq --raw-output .pull_request.number "$GITHUB_EVENT_PATH")"
64+
pull_number=$(jq --raw-output .pull_request.number "$GITHUB_EVENT_PATH")
65+
git fetch origin pull/$pull_number/head:pr_tmp
66+
git checkout pr_tmp
6367
64-
6568
- name: Checkout benchmark repository
6669
uses: actions/checkout@v3
6770
if: ${{ github.event_name == 'push' }}

0 commit comments

Comments
 (0)