Create with sha256 enabled

This commit is contained in:
Dirk Müller
2024-05-17 20:39:55 +02:00
parent 574bc9aa10
commit 2a3475ab6e
2 changed files with 15 additions and 1 deletions

View File

@@ -253,7 +253,7 @@ class Git:
url = f"https://src.opensuse.org/api/v1/org/{org_name}/repos"
response = requests.post(
url,
data={"name": repo_name},
data={"name": repo_name, "object_format_name": "sha256"},
headers={"Authorization": f"token {os.getenv('GITEA_TOKEN')}"},
timeout=10,
)