You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using actions/[email protected] in our workflows, we've found an issue where folders that contain only a .gitkeep file are not being checked out as. This behavior disrupts our workflows, as these folders are required for our project's structure and subsequent steps in our CI/CD automations.
Ensure the repository has one or more folders that only contain a .gitkeep file.
Add a step for creating an artifact
Trigger the workflow.
Expected behavior: All folders, including those with only a .gitkeep file, are checked out to the runner's filesystem. Should be able to see them if you download the artifact.
Actual behavior: Folders containing only a .gitkeep file are not checked out. If you download the artifact, folders are not present.
Additional Information
Also tried with option fetch-depth: 0 without success
Our workflow requires these folders for proper build and deployment processes.
We would greatly appreciate any insights or fixes for this issue to ensure our workflows can run smoothly with the latest version of actions/checkout.
The text was updated successfully, but these errors were encountered:
@delucaezequiel Ensure that you really committed these .gitkeep files.
FWIW, I am working with multiple repositories with directories which only contain a .gitkeep file and actions/checkout is working without an issue on them.
Description
When using
actions/[email protected]
in our workflows, we've found an issue where folders that contain only a.gitkeep
file are not being checked out as. This behavior disrupts our workflows, as these folders are required for our project's structure and subsequent steps in our CI/CD automations.Steps to Reproduce
actions/[email protected]
..gitkeep
file.Expected behavior: All folders, including those with only a
.gitkeep
file, are checked out to the runner's filesystem. Should be able to see them if you download the artifact.Actual behavior: Folders containing only a
.gitkeep
file are not checked out. If you download the artifact, folders are not present.Additional Information
We would greatly appreciate any insights or fixes for this issue to ensure our workflows can run smoothly with the latest version of
actions/checkout
.The text was updated successfully, but these errors were encountered: