File tree Expand file tree Collapse file tree 3 files changed +8
-0
lines changed Expand file tree Collapse file tree 3 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -44,6 +44,9 @@ inputs:
44
44
description : Whether or not to allow missing junit files in the upload invocation.
45
45
required : false
46
46
default : true
47
+ hide-banner :
48
+ description : Whether to hide the top level flaky tests banner
49
+ required : false
47
50
48
51
runs :
49
52
using : composite
66
69
ALLOW_MISSING_JUNIT_FILES : ${{ inputs.allow-missing-junit-files }}
67
70
BAZEL_BEP_PATH : ${{ inputs.bazel-bep-path }}
68
71
PR_TITLE : ${{ github.event.pull_request.title }}
72
+ HIDE_BANNER : ${{ inputs.hide-banner }}
Original file line number Diff line number Diff line change @@ -73,6 +73,7 @@ JUNIT_PATHS="${JUNIT_PATHS-}"
73
73
XCRESULT_PATH=" ${XCRESULT_PATH-} "
74
74
BAZEL_BEP_PATH=" ${BAZEL_BEP_PATH-} "
75
75
ALLOW_MISSING_JUNIT_FILES_ARG=$( parse_bool " ${ALLOW_MISSING_JUNIT_FILES} " " --allow-missing-junit-files" )
76
+ HIDE_BANNER=$( parse_bool " ${HIDE_BANNER} " " --hide-banner" )
76
77
QUARANTINE_ARG=$( parse_bool " ${QUARANTINE} " " --use-quarantining" )
77
78
78
79
# CLI.
@@ -100,6 +101,7 @@ if [[ $# -eq 0 ]]; then
100
101
--team " ${TEAM} " \
101
102
--tags " ${TAGS} " \
102
103
${ALLOW_MISSING_JUNIT_FILES_ARG} \
104
+ ${HIDE_BANNER} \
103
105
${QUARANTINE_ARG}
104
106
else
105
107
./trunk-analytics-cli test \
113
115
--team " ${TEAM} " \
114
116
--tags " ${TAGS} " \
115
117
${ALLOW_MISSING_JUNIT_FILES_ARG} \
118
+ ${HIDE_BANNER} \
116
119
${QUARANTINE_ARG} " $@ "
117
120
fi
118
121
# trunk-ignore-end(shellcheck/SC2086)
Original file line number Diff line number Diff line change @@ -38,6 +38,7 @@ test("Forwards inputs", async () => {
38
38
XCRESULT_PATH : "" ,
39
39
ALLOW_MISSING_JUNIT_FILES : "" ,
40
40
BAZEL_BEP_PATH : "" ,
41
+ HIDE_BANNER : "" ,
41
42
} ;
42
43
43
44
const scriptPath = path . resolve ( repoRoot , "script.sh" ) ;
You can’t perform that action at this time.
0 commit comments