Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fail if attempting to execute git commands in a directory that is not a git-repo. #326

Merged

Conversation

ccomendant
Copy link
Contributor

This patch explicitly aborts the execution of entrypoint.sh, if the action is executed outside a git-repo, i.e., a directory that doesn't itself contain a .git directory.

@stefanzweifel
Copy link
Owner

Thanks @ccomendant.
Looks good to me. Will write a test for this and merge your PR soon.

@stefanzweifel stefanzweifel merged commit 8621497 into stefanzweifel:master Apr 11, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants