publish-test-result-from-fork #138
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: ["cicd"] | |
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: linux 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: Linux Test Report | |
comment_title: Linux Test Report |