Skip to content

Commit 7980880

Browse files
committed
Fix missing colon
1 parent 4efcea6 commit 7980880

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

create-pull-request.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ def ignore_event(github_event):
1818
if 'schedule' in github_event:
1919
print("Allow schedule event.")
2020
return False
21-
2221
# Ignore push events on deleted branches
2322
# The event we want to ignore occurs when a PR is created but the repository owner decides
2423
# not to commit the changes. They close the PR and delete the branch. This creates a
@@ -46,7 +45,7 @@ def get_head_author(github_event):
4645
if 'schedule' in github_event:
4746
email=os.environ['GITHUB_ACTOR']
4847
name=os.environ['GITHUB_ACTOR'] + '@users.noreply.github.com'
49-
else
48+
else:
5049
email = "{head_commit[author][email]}".format(**github_event)
5150
name = "{head_commit[author][name]}".format(**github_event)
5251
return email, name

0 commit comments

Comments
 (0)