Skip to content

Commit d9425f9

Browse files
authored
refactor: reduce release plan log verbosity (#166)
Signed-off-by: Vitor Mattos <vitor@php.rio>
1 parent 45c0f8b commit d9425f9

2 files changed

Lines changed: 4 additions & 8 deletions

File tree

‎actions/release-plan/action.yml‎

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,6 @@ inputs:
3737
required: true
3838

3939
outputs:
40-
plan:
41-
description: ReleasePlan v1 JSON.
42-
value: ${{ steps.plan.outputs.plan }}
4340
ready:
4441
description: Whether the plan is ready for the next stage.
4542
value: ${{ steps.plan.outputs.ready }}
@@ -115,11 +112,7 @@ runs:
115112
echo !empty($plan["ready"]) ? "true" : "false";
116113
' "${plan_file}")"
117114
118-
delimiter="release-plan-${RANDOM}-${RANDOM}"
119115
{
120-
echo "plan<<${delimiter}"
121-
cat "${plan_file}"
122-
echo "${delimiter}"
123116
echo "ready=${ready}"
124117
echo "plan-path=${plan_file}"
125118
} >> "${GITHUB_OUTPUT}"

‎tests/test_release_plan_action.py‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,15 @@ def test_action_exposes_release_plan_v1_inputs_and_outputs(self) -> None:
3131
"ignore-open-backport:",
3232
"create-follow-up-milestone:",
3333
"config-path:",
34-
"plan:",
3534
"ready:",
3635
"tool-version:",
36+
"tool-path:",
37+
"plan-path:",
3738
):
3839
self.assertIn(expected, content)
3940

41+
self.assertNotIn("description: ReleasePlan v1 JSON.", content)
42+
4043
for transitional in (
4144
"mode:",
4245
"safe-public-text:",

0 commit comments

Comments
 (0)