-
Notifications
You must be signed in to change notification settings - Fork 19
37 lines (32 loc) · 1.19 KB
/
report.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
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