Report #1045
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: Report | |
on: | |
# When this workflow is triggered, the workflow definition comes from the `main` branch. | |
# If a pull request modifies this file, it will have an effect only after the pull request is merged. | |
workflow_run: | |
workflows: ["Build", "Gold data"] | |
types: | |
- completed | |
permissions: | |
pull-requests: write | |
jobs: | |
report: | |
name: Report | |
if: github.event.workflow_run.event == 'pull_request' && github.event.workflow_run.conclusion == 'success' | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./.github/actions/pull-request-report | |
if: github.event.workflow_run.name == 'Build' | |
# The Spark tests are not always run, | |
# so we ignore the error if the artifact is not found. | |
continue-on-error: true | |
with: | |
workflow_run_id: ${{ github.event.workflow_run.id }} | |
artifact_name: spark-tests-report | |
report_name: spark-tests | |
- uses: ./.github/actions/pull-request-report | |
if: github.event.workflow_run.name == 'Gold data' | |
with: | |
workflow_run_id: ${{ github.event.workflow_run.id }} | |
artifact_name: gold-data-report | |
report_name: gold-data |