Skip to content

Commit

Permalink
fix: publish test results other than codecov only on non-forked PR (#74)
Browse files Browse the repository at this point in the history
* fix: publish test results other than codecov only on push to main

* Update pr-test.yml

* fix: updates condition to publish test results
  • Loading branch information
JBAhire authored Feb 19, 2021
1 parent 3886390 commit 08aafdd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/pr-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ jobs:

- name: Publish Unit Test Results
uses: docker://ghcr.io/enricomi/publish-unit-test-result-action:v1.6
if: always()
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name == github.repository
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
files: ./**/build/test-results/**/*.xml

0 comments on commit 08aafdd

Please sign in to comment.