Skip to content

Create .git directory if it does not exist#8

Closed
casaroli wants to merge 1 commit intofregante:masterfrom
casaroli:makedirs
Closed

Create .git directory if it does not exist#8
casaroli wants to merge 1 commit intofregante:masterfrom
casaroli:makedirs

Conversation

@casaroli
Copy link

@casaroli casaroli commented Nov 18, 2022

When I run this with nektos/act, the script fails because it is trying to create a file in a nonexistent .git directory.

This makes sure the directory exists.

@fregante
Copy link
Owner

This action expects to be in a repo already. If the repo doesn't exist, it doesn't make sense to create this folder

@fregante fregante closed this Nov 18, 2022
@fregante fregante mentioned this pull request Feb 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants