mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 10:43:20 +00:00
Update ss13_autochangelog_ch.py
This commit is contained in:
@@ -73,6 +73,8 @@ f.close()
|
||||
|
||||
print('Reading changelogs...')
|
||||
for line in pr_body.splitlines():
|
||||
line = line.replace('"','\\"')
|
||||
#line = line.replace("'","''")
|
||||
print(f"Checking line '{line}'")
|
||||
if line[:1] == "🆑" or line[:4] == ":cl:": # Find the start of the changelog
|
||||
print("Found opening :cl: tag")
|
||||
@@ -132,4 +134,4 @@ for auth in new_logs:
|
||||
f.write('changes:\n')
|
||||
for log in new_logs[auth]:
|
||||
f.write(f'{log}\n')
|
||||
f.close()
|
||||
f.close()
|
||||
|
||||
Reference in New Issue
Block a user