publish-test-result-from-fork #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }} |