runner icon indicating copy to clipboard operation
runner copied to clipboard

Improve `may not be used more than once within the same scope.` to identify the location of the other instance

Open jsoref opened this issue 1 year ago • 2 comments

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:

  1. Create an action where you have two steps with the same id
  2. Create a workflow that uses the action
  3. 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.

jsoref avatar Jan 31 '24 00:01 jsoref

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.

github-actions[bot] avatar Feb 03 '25 00:02 github-actions[bot]

@aiqiaoy help?

jsoref avatar Feb 03 '25 02:02 jsoref