Unable to checkout repository ending in a dot on Windows
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 8.9k
- Forks
- 2.8k
- PR merge metrics
- No merged PRs in 30d
Description
Steps to Reproduce
- Create a repository that ends in a dot (e.g.
G.A.B.R.) - Write a GitHub Actions workflow that uses
actions/checkoutand a Windows platform - Run the workflow
Actual Behavior
All Windows builds fail with the error along the lines of: Directory 'D:\a\G.A.B.R.\G.A.B.R.' does not exist
That's because Windows doesn't allow directories that end with a ., thus the directory is never created.
Expected Behavior
A valid working directory is picked on Windows platforms.
Maybe, if desired, a warning message is printed, indicating of the directory name mismatch, due to Windows.
Example
I created an example repository for this: G.A.B.R.
And ran GitHub Actions on two different branches:
- Plain checkout
- Checkout with
path - Trying to use a different parent doesn't work (for obvious reasons)
If anyone knows a workaround, let me know. 🙂
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No repository files or tests are named. Start by reproducing the workflow on Windows with a repository name ending in a dot, then inspect how the checkout action selects its working directory and handles repository or path names. Done means checkout succeeds with a valid Windows working directory, with any name-mismatch warning matching the expected behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- github-actions, typescript
- Domain
- ci-cd
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100