Skip to content

Commit

Permalink
Fix test results publishing (#86)
Browse files Browse the repository at this point in the history
PRs run against forks get a read-only GITHUB_TOKEN, so workflows can
only publish test results if they are run in the context of
heaths/vscode-guid.
  • Loading branch information
heaths authored Feb 9, 2024
1 parent c592635 commit bed86ee
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ jobs:
TEST_RESULTS_PATH: ${{ github.workspace }}/.vscode-test/test-results.xml

- name: Publish test results
if: github.repository_owner == 'heaths'
uses: dorny/test-reporter@v1
with:
name: test-results-${{ matrix.os }}-${{ matrix.vscode-channel }}
Expand Down

0 comments on commit bed86ee

Please sign in to comment.