actions / actions/runner

Show composite action name at step level

Open
#1,877 42 comments 156 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug composite Runner Bug
Dominant language
C#
Stars
6.3k
Forks
1.4k
Avg merge
1d 16h
Merged PRs (30d)
24

Description

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:

  1. Setup a composite action
  2. Do not give a name to the step when using the composite action
  3. 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?

image

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the composite action workflow described in the issue, using a step without an explicit name. Trace how the runner labels that step and compare it with the composite action metadata. Done means the displayed step name is taken from the composite action metadata instead of the generic “Run action...” label.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, github-actions
Domain
ci-cd
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.