We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7d9aa77 commit b6841d6Copy full SHA for b6841d6
1 file changed
.github/workflows/test.yml
@@ -54,7 +54,9 @@ jobs:
54
55
- name: Report test results
56
uses: dorny/test-reporter@dc3a92680fcc15842eef52e8c4606ea7ce6bd3f3 # v2.1.1
57
- if: ${{ github.event.pull_request.head.repo.full_name == github.repository && !cancelled() }}
+ # This will skip the job if it's a pull request from a fork, because that won't have permission to upload test results.
58
+ # PRs from the repository and all other events are OK.
59
+ if: (github.event_name == 'push' || github.event_name == 'workflow_dispatch' || github.event.pull_request.head.repo.full_name == github.repository) && !cancelled()
60
with:
61
name: Test Results
62
path: "junit.xml"
0 commit comments