Skip to content

Commit 4d5ed6b

Browse files
committed
1 parent 07ab62f commit 4d5ed6b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

which-branch/which_branch.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,8 @@ def main(*raw_args):
9898

9999
# pr.body is the PR's description. Look for a line embedded in that
100100
# description containing only 'relnotes:'.
101+
if pr.body is None:
102+
return
101103
lines = iter(pr.body.splitlines())
102104
try:
103105
next(line for line in lines if line.strip() == 'relnotes:')

0 commit comments

Comments
 (0)