mirror of
https://github.com/Alkatrazz24/Funk-lab.git
synced 2026-07-08 18:34:43 +02:00
fix(hermes-auto-improve): configurer user.email/name git dans git_sync() pour root
This commit is contained in:
parent
a6f5207aa5
commit
994a2f1e54
1 changed files with 2 additions and 0 deletions
|
|
@ -38,6 +38,8 @@ def git(args: list) -> subprocess.CompletedProcess:
|
|||
|
||||
def git_sync():
|
||||
"""S'assure qu'on est sur hermes/daily-work à jour."""
|
||||
git(["config", "user.email", "hermes@funk.lab"])
|
||||
git(["config", "user.name", "Hermes Bot"])
|
||||
git(["fetch", "origin"])
|
||||
r = git(["checkout", BRANCH])
|
||||
if r.returncode != 0:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue