Skip to content

Commit

Permalink
Merge pull request #36243 from nextcloud/backport/35192/stable25
Browse files Browse the repository at this point in the history
[stable25] Fix github action "performance-8.0" when PR is from a fork.
  • Loading branch information
nickvergessen committed Jan 20, 2023
2 parents 0e69430 + 52f8256 commit e067267
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/performance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,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
Expand Down

0 comments on commit e067267

Please sign in to comment.