Skip to content

Commit

Permalink
add error
Browse files Browse the repository at this point in the history
  • Loading branch information
withanage committed Jun 11, 2024
1 parent 4e87f37 commit 260e2fe
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@ jobs:
if: ${{github.event_name == 'pull_request'}}
run: |
cd ~/${{github.event.pull_request.head.repo.name || github.event.repository.name }}
git remote add user_repo ${{ github.event.pull_request.head.ref}} ${{ github.event.pull_request.head.repo.html_url}}
git fetch user_repo
git checkout -b user_repo/${{ github.event.pull_request.head.ref}} ${{ github.event.pull_request.head.repo.html_url}}
git remote add user_repo ${{ github.event.pull_request.head.repo.html_url}}
git fetch user_repo ${{ github.event.pull_request.head.ref}}
git checkout -b user_repo/${{ github.event.pull_request.head.ref}}
shell: bash

- name: "Run plugin validation"
Expand Down

0 comments on commit 260e2fe

Please sign in to comment.