Skip to content

Commit

Permalink
Edit expected action to be opened (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
JacobValdemar authored Aug 7, 2020
1 parent 691ff37 commit 6fce31a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion issue_release_status.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ func (handler *PRCreateHandler) Handle(ctx context.Context, eventType, deliveryI
installationID := githubapp.GetInstallationIDFromEvent(&event)

ctx, logger := githubapp.PreparePRContext(ctx, installationID, repository, prNum)
if event.GetAction() != "created" {
if event.GetAction() != "opened" {
return nil
}

Expand Down

0 comments on commit 6fce31a

Please sign in to comment.