We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 07ab62f + 4d5ed6b commit da6b757Copy full SHA for da6b757
which-branch/which_branch.py
@@ -98,6 +98,8 @@ def main(*raw_args):
98
99
# pr.body is the PR's description. Look for a line embedded in that
100
# description containing only 'relnotes:'.
101
+ if pr.body is None:
102
+ return
103
lines = iter(pr.body.splitlines())
104
try:
105
next(line for line in lines if line.strip() == 'relnotes:')
0 commit comments