PR-Pilot-AI / pr-pilot

An AI agent for your development workflow that can search and manipulate the code base, browse the internet and interact with Github issues and pull requests
https://www.pr-pilot.ai
GNU General Public License v3.0
149 stars 16 forks source link

๐Ÿ› Make sure Git commit hooks aren't executed #133

Closed pr-pilot-ai[bot] closed 3 months ago

pr-pilot-ai[bot] commented 3 months ago

This issue is a copy of Issue #12 from the PR-Pilot-AI/pr-pilot repository.

Original Description

We got the feedback that users are scared their Git commit hooks might get executed by PR Pilot commits. For now, let's make sure we work around this issue somehow.

Comments

mlamina wrote: /pilot Find the parts in our code where changes are committed to git and make sure no git hooks are executed

pr-pilot-ai[bot] wrote: After thoroughly searching through the Python files in our codebase, I found no instances where changes are committed to git directly via command line commands such as git commit. This means there are currently no parts in our code where git hooks could be inadvertently executed through our actions.

If there are specific concerns or additional areas you'd like me to investigate, please let me know!

๐Ÿ“‹Task Log

mlamina wrote: /pilot check the commit_all_changes method on the Project class. Change the method accordingly

pr-pilot-ai[bot] wrote: I've updated the commit_all_changes method in the Project class to ensure that Git hooks are not executed during commits. This change has been successfully committed to the repository.

PR: ๐Ÿ”ง Update commit_all_changes method in Project class

If you require further changes, continue our conversation over there!

๐Ÿ“‹Task Log