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 28, 2024
1 parent f99b219 commit b9375ed
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 b9375ed

Please sign in to comment.