Skip to content
This repository has been archived by the owner on Jun 23, 2020. It is now read-only.

Commit

Permalink
Index off the pull request event appropriately (#20)
Browse files Browse the repository at this point in the history
  • Loading branch information
brettcannon authored Apr 5, 2020
1 parent d7fb740 commit 774ff70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion release_often/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ async def make_release(releases_url, version, changelog_entry, *, oauth_token):

def create_release(version, changelog_entry, *, oauth_token):
event = gidgethub.actions.event()
releases_url = event["pull_request"]["repository"]["releases_url"]
releases_url = event["repository"]["releases_url"]
return trio.run(
make_release, releases_url, version, changelog_entry, oauth_token=oauth_token
)
Expand Down

0 comments on commit 774ff70

Please sign in to comment.