runner
runner copied to clipboard
Show composite action name at step level
Describe the bug Given the use of a custom composite action:
# Composite Action ./.github/actions/build-api/action.yml
name: 'Build API'
description: 'Build the API'
runs:
using: 'composite'
steps:
...
# Main Workflow
name: Deploy
on:
push:
branches:
- main
jobs:
deploy:
name: Build API
runs-on: ubuntu-latest
steps:
- name: Checkout repo code
uses: actions/checkout@v3
# Configure Environments
- uses: ./.github/actions/build-api
The runners do not show the step name of the composite action, instead a generic Run action...
step name. Having to update this step name when it can be extracted from the action itself can get tedious when managing lots of actions and workflows.
To Reproduce Steps to reproduce the behavior:
- Setup a composite action
- Do not give a name to the step when using the composite action
- Run the action
Expected behavior The runner shows the name of the composite action for the step taken from the composite action metadata.
Runner Version and Platform
Version of your runner?
OS of the machine running the runner? All
What's not working?

Hi @bombillazo,
Thanks for reporting this issue! I agree with everything written, if the step name is not defined, the name of the action itself should be displayed. I added this to the board so we will work on it and create a PR that solves this problem.
The same can be done for action steps. For example, given that composite action
name: 'Action name'
runs:
using: 'composite'
steps:
- name: Action step 1
run: go mod download
working-directory: ${{ github.action_path }}
shell: bash
I get
Both "Action name" and "Action step 1" are not visible. runs.steps.name
is a required field, but seems to be unused.
I would be also great if each step could be "collapsable" in the same way it is for other types of actions
Until this is properly fixed, is there any workaround to show a nicer name in the action output?
still waiting for this
Still waiting for this too 🙏 This is a big advantage to be able to create a clean code bases with composite actions, without compromising readability in the UI...
still waiting for this as well
+1 awaiter here
+1 awaiter here (2)
It's been a while since I created this issue, I just wanted to follow up with the GH Actions team, given it's had much support since then.
@DanRigby @TingluoHuang @vanZeben @fhammerl
*anxiously awaiting for this as well 😅
+1
+1
+1 Still waiting
+1 waiting too
+1 awaiter here
+1 still waiting
+1 still waiting
+1 awaiter here
Knowing that GHA renders 1st line of the run
script as step title, this workaround allows to have nicer rendering:
- name: Verify installed ASDF tools
shell: bash
run: |
: Verify installed ASDF tools
awk '{print $1}' .tool-versions \
...
that provides nice rendering:
collapsed:
expanded:
Instead of : step name
, one might use true shell - step name
Both :
and true
commands do not affect execution flow
Knowing that GHA renders 1st line of the
run
script as step title, this workaround allows to have nicer rendering:
Clever workaround... but we shouldn't have to do that.
+1
+1
I would like to have this ❤️
+1
I forgot to celebrate my baby's second birthday... 😞 Happy birthday, #1877!
And another +1 👍
+42
+100500