Skip to content

publish-test-result-from-fork #1

publish-test-result-from-fork

publish-test-result-from-fork #1

name: publish-test-result-from-fork
on:
# the action will only run on dependabot/fork pull request
workflow_run:
workflows: ["SDK"]
types:
- completed
jobs:
test-results:
if: >
github.event.workflow_run.conclusion != 'skipped' && (
github.event.sender.login == 'dependabot[bot]' ||
github.event.workflow_run.head_repository.full_name != github.repository
)
name: sdk test report
uses: ./.github/workflows/publish-test-result-from-fork-action.yml
with:
commit: ${{ github.event.workflow_run.head_sha }}
files: artifacts/linux-ut-result-*/**/*.xml
check_name: SDK Test Report
comment_title: SDK Test Report
event_name: ${{ github.event.workflow_run.event }}
run_id: ${{ github.event.workflow_run.id }}