diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 2677bd71d..06e9022ab 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -23,6 +23,11 @@ jobs: uses: actions/checkout@v4 with: ref: ${{ github.head_ref }} + if: ${{ github.event.pull_request.head.repo.full_name == 'shopware/meteor' }} + + - name: Checkout + uses: actions/checkout@v4 + if: ${{ github.event.pull_request.head.repo.full_name != 'shopware/meteor' }} - uses: pnpm/action-setup@v3 with: @@ -54,7 +59,7 @@ jobs: run: pnpx turbo run lint:types - name: Commit changes - if: always() + if: always() && ${{ github.event.pull_request.head.repo.full_name == 'shopware/meteor' }} uses: stefanzweifel/git-auto-commit-action@v5 with: commit_message: "Apply code formatting and fixable ESLint issues"