Improve `may not be used more than once within the same scope.` to identify the location of the other instance
Describe the bug The other occurrence of the identifier isn't provided. It would be helpful for reporting a bug to the action vendor (especially if the action is private and the person who triggers the workflow can't access it).
To Reproduce Steps to reproduce the behavior:
- Create an action where you have two steps with the same id
- Create a workflow that uses the action
- Trigger the workflow
Expected behavior Provide line and column number references for both instances of the duplicated identifier.
Runner Version and Platform
Version of your runner? 2.312.0
OS of the machine running the runner? Linux
What's not working?
https://github.com/jsoref/check-spelling/actions/runs/7717561606 Please include error messages and screenshots.
Job Log Output
spelling/./action.yml (Line: 469, Col: 11): The identifier 'retrieve-comment-matrix-replacement' may not be used more than once within the same scope.
Check Spelling
GitHub.DistributedTask.ObjectTemplating.TemplateValidationException: The template is not valid. /home/runner/work/check-spelling/check-spelling/./action.yml (Line: 469, Col: 11): The identifier 'retrieve-comment-matrix-replacement' may not be used more than once within the same scope.
at GitHub.DistributedTask.ObjectTemplatin
Runner and Worker's Diagnostic Logs
If applicable, add relevant diagnostic log information. Logs are located in the runner's _diag folder. The runner logs are prefixed with Runner_ and the worker logs are prefixed with Worker_. Each job run correlates to a worker log. All sensitive information should already be masked out, but please double-check before pasting here.
This issue is stale because it has been open 365 days with no activity. Remove stale label or comment or this will be closed in 15 days.
@aiqiaoy help?