From bc9e5aaf1bccf83469f2a54154bb735365b4ef87 Mon Sep 17 00:00:00 2001 From: withanage Date: Tue, 11 Jun 2024 19:25:10 +0200 Subject: [PATCH] add error --- .github/workflows/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 61119f76..96770037 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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 ${{ github.head_ref || github.ref_name }} user_repo/${{ github.head_ref || github.ref_name }} + git checkout user_repo/${{ github.head_ref || github.ref_name }} shell: bash - name: Install for pull_request @@ -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 ${{ github.event.pull_request.head.ref}} user_repo/${{ github.event.pull_request.head.ref}} + git checkout user_repo/${{ github.event.pull_request.head.ref}} shell: bash - name: "Run plugin validation"