diff --git a/.github/workflows/pr-test.yml b/.github/workflows/pr-test.yml index a110df8..bc40b93 100644 --- a/.github/workflows/pr-test.yml +++ b/.github/workflows/pr-test.yml @@ -85,7 +85,7 @@ jobs: run: npm run build - name: Run integration tests - if: ${{ secrets.GITLAB_TOKEN_TEST }} + if: ${{ github.event_name == 'push' || github.event.pull_request.head.repo.full_name == github.repository }} run: | echo "Running integration tests with real GitLab API..." npm run test:integration || echo "No integration test script found"