mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-13 19:52:40 +00:00
Merge pull request #9504 from VOREStation/upstream-merge-7804
[MIRROR] Autochangelog Fix
This commit is contained in:
committed by
Chompstation Bot
parent
bfe487e41a
commit
556b955810
@@ -63,7 +63,7 @@ new = 0
|
|||||||
print('Reading changelogs...')
|
print('Reading changelogs...')
|
||||||
for line in args.pr_body.splitlines():
|
for line in args.pr_body.splitlines():
|
||||||
print(f"Checking line '{line}'")
|
print(f"Checking line '{line}'")
|
||||||
if line[0] == "🆑": # Find the start of the changelog
|
if line[:1] == "??": # Find the start of the changelog
|
||||||
print("Found opening :cl: tag")
|
print("Found opening :cl: tag")
|
||||||
if incltag == True: # If we're already reading logs, skip
|
if incltag == True: # If we're already reading logs, skip
|
||||||
continue
|
continue
|
||||||
@@ -81,7 +81,7 @@ for line in args.pr_body.splitlines():
|
|||||||
continue
|
continue
|
||||||
|
|
||||||
# If we hit a /cl, we're no longer reading logs
|
# If we hit a /cl, we're no longer reading logs
|
||||||
elif line == "/🆑":
|
elif line == "/??":
|
||||||
print("Found closing /:cl: tag")
|
print("Found closing /:cl: tag")
|
||||||
incltag = False
|
incltag = False
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user