mirror of
https://github.com/nextcloud/server.git
synced 2026-04-21 14:23:17 -04:00
Fix github action "performance-8.0" when PR is from a fork.
There is an assumption that the PR is from the same remote as the base it is being merged into. This is fixed so that instead of doing a `git fetch origin`, it now fetches from the `clone_url` of the PR head. Signed-off-by: Peter Serwylo <peter@serwylo.com>
This commit is contained in:
parent
62919ac81e
commit
56aee55f9b
1 changed files with 3 additions and 2 deletions
5
.github/workflows/performance.yml
vendored
5
.github/workflows/performance.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue