Merge branch 'master' into dev-gitea
This commit is contained in:
commit
8b0ab3bd76
@ -1,12 +0,0 @@
|
|||||||
from gitea import *
|
|
||||||
URL = "https://git.mamahaha.work"
|
|
||||||
TOKEN = open("token.log", "r").read().strip()
|
|
||||||
gitea_connect = Gitea(URL, TOKEN)
|
|
||||||
print("Gitea Version: " + gitea_connect.get_version())
|
|
||||||
print("API-Token belongs to user: " + gitea_connect.get_user().username)
|
|
||||||
|
|
||||||
#repository = "sangge/tpre-python"
|
|
||||||
#target_branch = "main"
|
|
||||||
#gitea_repo = gitea_connect.get_repo(str(repository))
|
|
||||||
#gitea_branch = gitea_repo.get_branch(target_branch)
|
|
||||||
#print(gitea_branch)
|
|
Loading…
x
Reference in New Issue
Block a user