Skip to content

Commit

Permalink
Publish test results even when branch is on origin
Browse files Browse the repository at this point in the history
Can't remember why this restriction was put in there, but it seems it
prevents test results from being published when PR's repo is the same as
the origin.

Also don't understand or remember why the dependabot restriction is in
here. Removing that too.
  • Loading branch information
lunkwill42 authored and hmpf committed Feb 29, 2024
1 parent 02db144 commit 2874c80
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/publish-test-results.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,7 @@ jobs:
name: "Publish test results"
runs-on: ubuntu-latest
if: >
github.event.workflow_run.conclusion != 'skipped' && (
github.event.sender.login == 'dependabot[bot]' ||
github.event.workflow_run.head_repository.full_name != github.repository
)
github.event.workflow_run.conclusion != 'skipped'
steps:
- name: Download and Extract Artifacts
Expand Down

0 comments on commit 2874c80

Please sign in to comment.