-
Notifications
You must be signed in to change notification settings - Fork 964
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Composite Actions: Give users control over how verbose the step output is #1404
Comments
This is intentional, we want to show more information about the steps that are being run. We could add a feature to disable this behavior with a toggle in the composite action, so i've retagged this as an enhancement. |
@thboop, although field Furthermore, with regard to the toggle you mentioned, would it be feasible to "promote" the steps from a composite action for them to be shown as steps of the parent workflow? |
This would be super useful when combining multiple steps which each have a lot of log output in a composite action. Currently reading the logs becomes much more difficult with the steps in a composite action, to the point that we have just inlined the steps for some of our workflows. Using At minimum would probably want to prefix the step name with the name of the composite action calling it, and a toggle for this behavior. Even better would be if the steps were shown in a collapsible list under the composite step in a similar format to the steps for the root workflow. But that would be a larger UI change so might be out of scope. #1477 seems to be related as well |
Since it's been almost exactly 2 years since the last comment I want to add another comment in favor of this. I've been refactoring groups of actions across my teams into shared actions, and the extra log verbosity can be devastating to dev experience. If I perform a For some of our actions this means going from tests that are easy to read and debug to thousands of lines of noisy build logs before the tests or lint failures appear, and the failures now stick out less. There are workarounds, but all of them involve compromises or dev effort, education, and maintenance because devs can't just click on the little ❌ and see what went wrong. |
Describe the bug
No output grouping on composite actions
To Reproduce
Create a composite action that uses log grouping with
echo "::group::Start.."
echo "::endgroup::"
Using this composite action on another action has the following output:
Expected behavior
This was the output of a job running on '2.280.3'
Runner Version and Platform
Version of your runner?
2.281.1
OS of the machine running the runner?
OSX
The text was updated successfully, but these errors were encountered: