File tree Expand file tree Collapse file tree 2 files changed +0
-10
lines changed Expand file tree Collapse file tree 2 files changed +0
-10
lines changed Original file line number Diff line number Diff line change @@ -44,11 +44,6 @@ func issueEventPayload() github.IssuesEvent {
4444 if err != nil {
4545 errorLog (errors .Wrap (err , "Failed to unmarshal JSON to Go Object" ))
4646 }
47- if payload .GetAction () != "opened" {
48- infoLog ("GitHub action interupts!!" )
49- infoLog ("This issue is not new one :D" )
50- os .Exit (0 )
51- }
5247
5348 return payload
5449}
Original file line number Diff line number Diff line change @@ -44,11 +44,6 @@ func pullRequestEventPayload() github.PullRequestEvent {
4444 if err != nil {
4545 errorLog (errors .Wrap (err , "Failed to unmarshal JSON to Go Object" ))
4646 }
47- if payload .GetAction () != "opened" {
48- infoLog ("GitHub action interupts!!" )
49- infoLog ("This PR is not new one :D" )
50- os .Exit (0 )
51- }
5247
5348 return payload
5449}
You can’t perform that action at this time.
0 commit comments