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 c37ca86 commit f0d1470
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
cd ~/${{github.event.pull_request.head.repo.name || github.event.repository.name }}
git remote add user_repo https://github.com/${{ github.repository}}
git fetch user_repo
git checkout -b user_repo/${{ github.head_ref || github.ref_name }}
git checkout -b ${{ github.head_ref || github.ref_name }} user_repo/${{ github.head_ref || github.ref_name }}
shell: bash

- name: Install for pull_request
Expand All @@ -45,7 +45,7 @@ jobs:
cd ~/${{github.event.pull_request.head.repo.name || github.event.repository.name }}
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}}
git checkout -b ${{ github.event.pull_request.head.ref}} user_repo/${{ github.event.pull_request.head.ref}}
shell: bash

- name: "Run plugin validation"
Expand Down

0 comments on commit f0d1470

Please sign in to comment.