forked from importers/git-importer
Create with sha256 enabled
This commit is contained in:
@@ -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,
|
||||
)
|
||||
|
Reference in New Issue
Block a user