diff --git a/.github/workflows/pr_check.yml b/.github/workflows/pr_check.yml index f80b9e0..41016c9 100644 --- a/.github/workflows/pr_check.yml +++ b/.github/workflows/pr_check.yml @@ -30,7 +30,7 @@ jobs: - name: Connect private iap package uses: webfactory/ssh-agent@v0.8.0 id: fetch-iap - if: steps.PR.outputs.number == 'null' || github.event.pull_request.head.repo.full_name == github.repository + if: steps.PR.outputs.number != 'null' && github.event.pull_request.head.repo.full_name != github.repository with: ssh-private-key: ${{ secrets.M3_LIGHTMETER_IAP_KEY }}