Skip to content

Commit fe962e2

Browse files
committed
ci(regen): use line-exact changelog idempotency check
1 parent 1691b33 commit fe962e2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/regenerate.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ jobs:
102102
end = start + nxt.start() if nxt else len(text)
103103
body = text[start:end]
104104
105-
if bullet in body:
105+
if any(line.strip() == bullet for line in body.splitlines()):
106106
print("CHANGELOG [Unreleased] already lists this entry; leaving it untouched.")
107107
raise SystemExit(0)
108108

0 commit comments

Comments
 (0)