diff --git a/.github/workflows/code_check.yaml b/.github/workflows/code_check.yaml index eec3275..4035332 100644 --- a/.github/workflows/code_check.yaml +++ b/.github/workflows/code_check.yaml @@ -78,7 +78,8 @@ jobs: - name: Write test report uses: dorny/test-reporter@v1 - if: success() || failure() + # PRs from forks have no write permissions. + if: github.event.pull_request.head.repo.fork == false && (success() || failure()) with: name: Test Report path: ${{ env.FLUTTER_TEST_REPORT }}