File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,6 @@ def ignore_event(github_event):
18
18
if 'schedule' in github_event :
19
19
print ("Allow schedule event." )
20
20
return False
21
-
22
21
# Ignore push events on deleted branches
23
22
# The event we want to ignore occurs when a PR is created but the repository owner decides
24
23
# 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):
46
45
if 'schedule' in github_event :
47
46
email = os .environ ['GITHUB_ACTOR' ]
48
47
name = os .environ ['GITHUB_ACTOR' ] + '@users.noreply.github.com'
49
- else
48
+ else :
50
49
email = "{head_commit[author][email]}" .format (** github_event )
51
50
name = "{head_commit[author][name]}" .format (** github_event )
52
51
return email , name
You can’t perform that action at this time.
0 commit comments