Description
Describe the bug
If an action is used multiple times and the owner or repository name varies in case, then the action will be downloaded multiple times.
As GitHub asserts that owners and repository names are case-insensitive, this is wasteful.
(Note: paths within repositories may be case-sensitive, that's outside the scope of this report.)
To Reproduce
Steps to reproduce the behavior:
- Create a workflow that uses an action multiple times where the owner/repository name differ only by case -- https://github.com/check-spelling-sandbox/animated-umbrella/actions/runs/13579366005/workflow
- Trigger the workflow
- Look at the
Set up job
section of the workflow run forGetting action download info
andDownload action repository
...
Expected behavior
- Possibly a warning to the job log (
::notice ::action requested by multiple cases <...>
) - The action should only be downloaded once
Runner Version and Platform
Version of your runner? 2.322.0
OS of the machine running the runner? Linux
What's not working?
The runner is needlessly downloading multiple copies of an action that it can know to be identical.
Job Log Output
Getting action download info
Download action repository 'actions/checkout@v4' (SHA:11bd71901bbe5b1630ceea73d27597364c9af683)
Download action repository 'actIONS/checkout@v4' (SHA:11bd71901bbe5b1630ceea73d27597364c9af683)
Download action repository 'actions/CHECKout@v4' (SHA:11bd71901bbe5b1630ceea73d27597364c9af683)
Download action repository 'aCTions/checkout@v4' (SHA:11bd71901bbe5b1630ceea73d27597364c9af683)
Download action repository 'actions/checKOut@v4' (SHA:11bd71901bbe5b1630ceea73d27597364c9af683)
Download action repository 'actIONS/cHECkout@v4' (SHA:11bd71901bbe5b1630ceea73d27597364c9af683)
Complete job name: checkout
Runner and Worker's Diagnostic Logs
For comparison, here's a workflow run where the same action is used multiple times, each time w/ the same case. Note that it only downloads the action repository once:
https://github.com/check-spelling-sandbox/animated-umbrella/actions/runs/13579366005/job/37962422085