Skip to content

Commit

Permalink
minimal git config
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions committed Nov 14, 2024
1 parent 0349750 commit 752f3f8
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions bbot/core/helpers/depsinstaller/installer.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,11 @@ def __init__(self, parent_helper):
self.parent_helper.mkdir(self.command_status)
self.setup_status = self.read_setup_status()

# make sure we're using a minimal git config
self.minimal_git_config = self.data_dir / "minimal_git.config"
self.minimal_git_config.touch()
os.environ["GIT_CONFIG_GLOBAL"] = str(self.minimal_git_config)

self.deps_behavior = self.parent_helper.config.get("deps_behavior", "abort_on_failure").lower()
self.ansible_debug = self.core.logger.log_level <= logging.DEBUG
self.venv = ""
Expand Down

0 comments on commit 752f3f8

Please sign in to comment.