This is an automated email from the ASF dual-hosted git repository.
gurwls223 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/spark.git
The following commit(s) were added to refs/heads/master by this push:
new 7b637eef77b [SPARK-39038][CI] Skip reporting test results if
triggering workflow was skipped
7b637eef77b is described below
commit 7b637eef77b5069cb8825db8ff79389a935364d8
Author: Enrico Minack <[email protected]>
AuthorDate: Thu Apr 28 09:00:17 2022 +0900
[SPARK-39038][CI] Skip reporting test results if triggering workflow was
skipped
### What changes were proposed in this pull request?
The `"Report test results"` workflow should be skipped when the triggering
workflow completed with conclusion `'skipped'`.
### Why are the changes needed?
The `"Report test results"` workflow is triggered when either `"Build and
test"` or `"Build and test (ANSI)"` complete. On fork repositories, workflow
`"Build and test (ANSI)"` is always skipped.
The triggered `"Report test results"` workflow downloads artifacts from the
triggering workflow and errors because there are none artifacts.
### Does this PR introduce _any_ user-facing change?
No
### How was this patch tested?
In personal repo:
- https://github.com/EnricoMi/spark/actions/runs/2231657986
- triggered by https://github.com/EnricoMi/spark/actions/runs/2231657828
Closes #36371 from EnricoMi/master.
Authored-by: Enrico Minack <[email protected]>
Signed-off-by: Hyukjin Kwon <[email protected]>
---
.github/workflows/test_report.yml | 1 +
1 file changed, 1 insertion(+)
diff --git a/.github/workflows/test_report.yml
b/.github/workflows/test_report.yml
index a3f09c06ed9..5f46985a975 100644
--- a/.github/workflows/test_report.yml
+++ b/.github/workflows/test_report.yml
@@ -26,6 +26,7 @@ on:
jobs:
test_report:
+ if: github.event.workflow_run.conclusion != 'skipped'
runs-on: ubuntu-latest
steps:
- name: Download test results to report
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]