autobot: maj hash commit si réussite
This commit is contained in:
parent
e4efab9f1b
commit
b47269a083
@ -63,5 +63,7 @@ if latest_commit != previous_commit:
|
||||
print("Pull request numéro " + pr.id + " créée")
|
||||
print("URL : " + pr.html_url)
|
||||
print("État : " + ((Fore.GREEN + "Fusionnable") if pr.mergeable else (Fore.RED + "Conflit")) + Style.RESET_ALL)
|
||||
|
||||
open(args['cache_dir'] + '/git-revision', 'w').write(latest_commit)
|
||||
else:
|
||||
print(Fore.GREEN + "Aucun changement détecté" + Style.RESET_ALL)
|
||||
|
Loading…
Reference in New Issue
Block a user