How to add envName for each workflow run based on env Deployment

hi team,
I have a requirement where I would use workflow_dispatch to run for every env deployment but I see all the history of workflow runs are saying the same workflow name but I would like to tag what env I deployed using env as tag workflow when you see in the history of workflow runs.

The github context is not available in the workflow level name attribute, which means you cannot access ${{ github.event.inputs.envName }} to set a name dynamically. I’m pretty sure expressions and thus dynamic workflow names are not supported at all.


A template expression is not allowed in this context