aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2022-11-16 15:05:08 +0100
committerGitHub <noreply@github.com>2022-11-16 15:05:08 +0100
commitb62d3c4f39bb2c7600e6a9016ba6696da547b6a8 (patch)
tree2776dc9df27ee17ea0c97302b711d9b137dc1fa1
parent62919ac81eb856a15c0131f3cf948bb11b2a5b1f (diff)
parent56aee55f9bea40adc1edc725881192f325312c19 (diff)
downloadnextcloud-server-b62d3c4f39bb2c7600e6a9016ba6696da547b6a8.tar.gz
nextcloud-server-b62d3c4f39bb2c7600e6a9016ba6696da547b6a8.zip
Merge pull request #35192 from pserwylo/fix-performance-github-action
Fix github action "performance-8.0" when PR is from a fork.
-rw-r--r--.github/workflows/performance.yml5
1 files changed, 3 insertions, 2 deletions
diff --git a/.github/workflows/performance.yml b/.github/workflows/performance.yml
index e5cbac5fe8f..b05390772cf 100644
--- a/.github/workflows/performance.yml
+++ b/.github/workflows/performance.yml
@@ -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