Merge pull request #35192 from pserwylo/fix-performance-github-action

Fix github action "performance-8.0" when PR is from a fork.
This commit is contained in:
Julius Härtl 2022-11-16 15:05:08 +01:00 committed by GitHub
commit b62d3c4f39
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -51,8 +51,9 @@ jobs:
- name: Apply PR
run: |
git fetch origin ${{ github.event.pull_request.head.ref }}
git checkout ${{ github.event.pull_request.head.ref }}
git remote add pr ${{ github.event.pull_request.head.repo.clone_url }}
git fetch pr ${{ github.event.pull_request.head.ref }}
git checkout -b pr/${{ github.event.pull_request.head.ref }}
git submodule update
./occ upgrade