fix: fixing perf test workflow during merge. (#16574)
This commit is contained in:
parent
9dbc648e4c
commit
3594b81a9b
10
.github/workflows/test-build-docker-image.yml
vendored
10
.github/workflows/test-build-docker-image.yml
vendored
|
|
@ -430,11 +430,15 @@ jobs:
|
||||||
ports:
|
ports:
|
||||||
- 27017:27017
|
- 27017:27017
|
||||||
steps:
|
steps:
|
||||||
# Check out merge commitGIT BRANCH
|
- name: Checkout the merged commit from PR and base branch
|
||||||
- name: Fork based /ok-to-test-perf checkout
|
if: github.event_name == 'pull_request_review'
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
ref: "refs/pull/${{ github.event.pull_request.number }}/merge"
|
ref: refs/pull/${{ github.event.pull_request.number }}/merge
|
||||||
|
|
||||||
|
- name: Checkout the head commit of the branch
|
||||||
|
if: github.event_name == 'push' || github.event_name == 'workflow_dispatch'
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
# Timestamp will be used to create cache key
|
# Timestamp will be used to create cache key
|
||||||
- id: timestamp
|
- id: timestamp
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user